How read/write requests are dispatched to the ramdisk driver
I am trying to measure the performance of ramdisk (size is 2GB) on a Nehalem based system (with CentOS5.4) with 4GRam. It looks like I get better throughput (~4GB/sec) only when I try to read the data of 512K. If I read less or more than 512K, then the throughput is less.
If ramdik driver is using the request queue then it makes sense. But ramdisk driver is not using request queue and it has its own make_request function i.e brd_make_request(...). Can anybody tell me what could be the reason here in getting better throughput for a transfer of 512K.
Thanks & Regards,