[LU-4820] extra memcpy in read path Created: 26/Mar/14 Updated: 18/Aug/15 Resolved: 10/Jun/15 |
|
| Status: | Closed |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.4.1, Lustre 2.5.0, Lustre 2.6.0, Lustre 2.4.2, Lustre 2.5.1, Lustre 2.5.2, Lustre 2.4.3 |
| Fix Version/s: | Lustre 2.8.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Alex Zhuravlev | Assignee: | Alex Zhuravlev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | llnl | ||
| Environment: |
ZFS |
||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 13259 | ||||||||
| Description |
|
osd_read_prep() in osd-zfs/ calls into dmu_read() which finds the buffers filled osd_bufs_get_read(). this is not needed and cost us extra memcpy() on all the reads. |
| Comments |
| Comment by Alex Zhuravlev [ 26/Mar/14 ] |
| Comment by Gerrit Updater [ 04/Dec/14 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/9760/ |
| Comment by Gerrit Updater [ 08/Dec/14 ] |
|
Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: http://review.whamcloud.com/12990 |
| Comment by Gerrit Updater [ 08/Dec/14 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/12990/ |
| Comment by Gerrit Updater [ 08/Dec/14 ] |
|
Alex Zhuravlev (alexey.zhuravlev@intel.com) uploaded a new patch: http://review.whamcloud.com/12991 |
| Comment by Alex Zhuravlev [ 08/Dec/14 ] |
| Comment by Rick Wagner (Inactive) [ 25/Feb/15 ] |
|
Alex, Can you see how much work it would be to write a patch for this against b2_5? For one of our systems, we want to got with the latest 2.5 release, but I'd like to have this patch included. Thanks, |
| Comment by Gerrit Updater [ 27/Feb/15 ] |
|
Alex Zhuravlev (alexey.zhuravlev@intel.com) uploaded a new patch: http://review.whamcloud.com/13907 |
| Comment by Alex Zhuravlev [ 27/Feb/15 ] |
|
RIck, please have a look: http://review.whamcloud.com/13907 |
| Comment by Rick Wagner (Inactive) [ 27/Feb/15 ] |
|
Thanks, Alex. Unfortunately, it looks as though there may be a dependency on other changes. The build failed looking for something in the niobuf_local structure. In function 'osd_read_prep': /var/lib/jenkins/workspace/lustre-reviews/arch/x86_64/build_type/server/distro/el6/ib_stack/inkernel/BUILD/BUILD/lustre-2.5.3/lustre/osd-zfs/osd_io.c:759: error: 'struct niobuf_local' has no member named 'lnb_rc' |
| Comment by Gerrit Updater [ 02/Mar/15 ] |
|
Alex Zhuravlev (alexey.zhuravlev@intel.com) uploaded a new patch: http://review.whamcloud.com/13929 |
| Comment by Alex Zhuravlev [ 02/Mar/15 ] |
|
my bad, sorry folks. please check another version. |
| Comment by Gerrit Updater [ 18/Mar/15 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/12991/ |
| Comment by Alex Zhuravlev [ 28/Apr/15 ] |
|
landed to master |
| Comment by Alex Zhuravlev [ 28/Apr/15 ] |
|
any objections to close the ticket? |