On Friday 19 October 2007 19:48, Kumar Gala wrote:
quoted
PAGE_SIZE = 4K:
P = 66 MBps;
PAGE_SIZE = 16K:
P = 145 MBps;
PAGE_SIZE = 64K:
P = 196 MBps;
PAGE_SIZE = 256K:
P = 217 MBps.
Is this all in kernel space? or is there a user space aspect to the
benchmark?
The situation here is that the Linux RAID driver does a lot of complex things
with the pages (strips of array) using CPU before submitting these pages to h/w.
Here is where the most time is spent. Thus, increasing the PAGE_SIZE value we reduce
the number of these complex algorithms calls needed to process the whole test (writing
the fixed number of MBytes to RAID array). So, there are no user space aspects.
--
Yuri Tikhonov, Senior Software Engineer
Emcraft Systems, www.emcraft.com