diff options
author | Benjamin LaHaise <bcrl@kvack.org> | 2006-01-08 04:04:34 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-08 23:14:03 -0500 |
commit | 59d9136b9844d3a0376d93c945ab280decedb323 (patch) | |
tree | 6c3eaa9f902ae983b96500a8d60720610da539a4 /drivers/connector | |
parent | fb1697933a03ec47d794b38e2a4e3ccc2463fd22 (diff) |
[PATCH] aio: reorder kiocb structure elements to make sync iocb setup faster
Reorder members of the kiocb structure to make sync kiocb setup faster. By
setting the elements sequentially, the write combining buffers on the CPU
are able to combine the writes into a single burst, which results in fewer
cache cycles being consumed, freeing them up for other code. This results
in a 10-20KB/s[*] increase on the bw_unix part of LMbench on my test
system.
* The improvement varies based on what other patches are in the system,
as there are a number of bottlenecks, so this number is not absolutely
accurate.
Signed-off-by: Benjamin LaHaise <benjamin.c.lahaise@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/connector')
0 files changed, 0 insertions, 0 deletions