RE: [rfc patch] optimize o_direct on block device

2006-12-01 Thread Chen, Kenneth W
Chris Mason wrote on Friday, December 01, 2006 7:37 AM > > It benefit from shorter path length. It takes much shorter time to process > > one I/O request, both in the submit and completion path. I always think in > > terms of how many instructions, or clock ticks does it take to convert user > >

Re: [rfc patch] optimize o_direct on block device

2006-12-01 Thread Zach Brown
On Nov 30, 2006, at 10:16 PM, Chen, Kenneth W wrote: Zach Brown wrote on Thursday, November 30, 2006 1:45 PM At that time, a patch was written for raw device to demonstrate that large performance head room is achievable (at ~20% speedup for micro- benchmark and ~2% for db transaction

Re: [rfc patch] optimize o_direct on block device

2006-12-01 Thread Chris Mason
On Thu, Nov 30, 2006 at 10:16:53PM -0800, Chen, Kenneth W wrote: > Zach Brown wrote on Thursday, November 30, 2006 1:45 PM > > > At that time, a patch was written for raw device to demonstrate that > > > large performance head room is achievable (at ~20% speedup for micro- > > > benchmark and ~2%

Re: [rfc patch] optimize o_direct on block device

2006-12-01 Thread Chris Mason
On Thu, Nov 30, 2006 at 10:16:53PM -0800, Chen, Kenneth W wrote: Zach Brown wrote on Thursday, November 30, 2006 1:45 PM At that time, a patch was written for raw device to demonstrate that large performance head room is achievable (at ~20% speedup for micro- benchmark and ~2% for db

Re: [rfc patch] optimize o_direct on block device

2006-12-01 Thread Zach Brown
On Nov 30, 2006, at 10:16 PM, Chen, Kenneth W wrote: Zach Brown wrote on Thursday, November 30, 2006 1:45 PM At that time, a patch was written for raw device to demonstrate that large performance head room is achievable (at ~20% speedup for micro- benchmark and ~2% for db transaction

RE: [rfc patch] optimize o_direct on block device

2006-12-01 Thread Chen, Kenneth W
Chris Mason wrote on Friday, December 01, 2006 7:37 AM It benefit from shorter path length. It takes much shorter time to process one I/O request, both in the submit and completion path. I always think in terms of how many instructions, or clock ticks does it take to convert user request

RE: [rfc patch] optimize o_direct on block device

2006-11-30 Thread Chen, Kenneth W
Zach Brown wrote on Thursday, November 30, 2006 1:45 PM > > At that time, a patch was written for raw device to demonstrate that > > large performance head room is achievable (at ~20% speedup for micro- > > benchmark and ~2% for db transaction processing benchmark) with a > > tight I/O

Re: [rfc patch] optimize o_direct on block device

2006-11-30 Thread Zach Brown
At that time, a patch was written for raw device to demonstrate that large performance head room is achievable (at ~20% speedup for micro- benchmark and ~2% for db transaction processing benchmark) with a tight I/O submission processing loop. Where exactly does the benefit come from? icache

Re: [rfc patch] optimize o_direct on block device

2006-11-30 Thread Zach Brown
At that time, a patch was written for raw device to demonstrate that large performance head room is achievable (at ~20% speedup for micro- benchmark and ~2% for db transaction processing benchmark) with a tight I/O submission processing loop. Where exactly does the benefit come from? icache

RE: [rfc patch] optimize o_direct on block device

2006-11-30 Thread Chen, Kenneth W
Zach Brown wrote on Thursday, November 30, 2006 1:45 PM At that time, a patch was written for raw device to demonstrate that large performance head room is achievable (at ~20% speedup for micro- benchmark and ~2% for db transaction processing benchmark) with a tight I/O submission

[rfc patch] optimize o_direct on block device

2006-11-29 Thread Chen, Kenneth W
I've been complaining about O_DIRECT I/O processing being exceedingly complex and slow since March 2005, see posting below: http://marc.theaimsgroup.com/?l=linux-kernel=111033309732261=2 At that time, a patch was written for raw device to demonstrate that large performance head room is achievable

[rfc patch] optimize o_direct on block device

2006-11-29 Thread Chen, Kenneth W
I've been complaining about O_DIRECT I/O processing being exceedingly complex and slow since March 2005, see posting below: http://marc.theaimsgroup.com/?l=linux-kernelm=111033309732261w=2 At that time, a patch was written for raw device to demonstrate that large performance head room is