<snip>
> We noticed a marginal increase in throughput using Intel 1Gb ethernet
> cards (e1000) and a significant increase in throughput using the
> Intel 10Gb cards.
>
Hi!
Do you have any numbers available? Would be nice to know what kind
significant increase you got..
Thanks!
-- Pasi
For writes I am getting 1000MB/s (netperf reports 1100), but for reads I
am getting only 600 MB/s. On the write side we use sendpage which is
zero copy. For reads though, we use memcpy. perf traces are showing we
are in that memcpy a lot. So I thought these patches might help since
Supreeth had also mentioned a significant increase in throughput.
The attached patch ports Supreeth's patches to linus's tree.
For reads I just do something like
fio --filename=/dev/sdXYZ --direct=1 --rw=randread --bs=1m --size=10G
--numjobs=4 --runtime=10 --group_reporting --name=file1
For writes I do:
fio --filename=/dev/XYZ --direct=1 --rw=randwrite --bs=1m --size=10G
--numjobs=4 --runtime=10 --group_reporting --name=file1
The iscsi target disks are memory backed disks, so not actually going to
real spinning disks :)
Also in the attached patch is a change to the r2t code which speeds up
writes when the IO size requires R2Ts.
With Linus's tree I had to use the "noop" io scheduler, turn of iptables
(/etc/init.d/iptables stop" on fedora/RHEL systems), turn off
irqbalance, turn off cpuspeed, and then play around with the
/sys/block/sdXYZ/queue/rq_affinity setting. Also it sometimes helped
when the the MaxRecvDataSegmentLength and MaxXmitDataSegmentLength were
larger (128 - 256K) and then the /sys/block/sdXYZ/queue/max_sectors_kb
matched them.
And make sure ioatdma is loaded and that /sys/class/dma/ has some dma
channels.
If you have a fast system with ioatdma please try it out.
Oh yeah, starting vacation ...... Now :)
Thanks for the heads up!
Actually I have some new hardware with 10gig nics
so I can probably try this stuff..
Enjoy your vacation!
-- Pasi
> For writes I am getting 1000MB/s (netperf reports 1100), but for reads I am getting only 600 MB/s.
what was the perf before the patches?
Or.
That is the perf before the patches. I do not have a box with ioatdma
and 10 gig nics, so I am not able to test right now. With 1 gig, it is
not making any difference. I am getting around 113/112 MB/s read/write
throughout. I ported the patches hoping intel or Pasi or someone on the
list, would be interested in trying them out.