I find upping some of the default Linux network params helps with throughput
Edit /etc/sysctl.conf, then update the system using #sysctl –p # Increase network buffer sizes net.core.rmem_max = 16777216 net.core.wmem_max = 16777216 net.ipv4.tcp_rmem = 8192 87380 16777216 net.ipv4.tcp_wmem = 4096 65536 16777216 net.core.wmem_default = 262144 net.core.rmem_default = 262144 net.core.wmem_default = 262144 net.core.rmem_default = 262144 I also find that increasing the disk read ahead really helps with sequential read loads. blockdev –setra X <device name> i.e. #blockdev –setra 4096 /dev/sda or /dev/mapper/mpath1 Also some small tweaks to iscsid.conf can yield some improvements. #/etc/iscsi/iscsid.conf node.session.cmds_max = 1024 < --- Default is 128 node.session.queue_depth = 128 < --- Default is node.conn[0].iscsi.MaxRecvDataSegmentLength = 131072 <--- try 64K-512K On Mon, Aug 25, 2014 at 2:58 PM, Mark Lehrer <[email protected]> wrote: > I am trying to achieve10Gbps in my single initiator/single target >>> env. (open-iscsi and IET) >>> >> > On a semi-related note, are there any good guides out there to tuning > Linux for maximum single-socket performance? On my 40 gigabit setup, I > seem to hit a wall around 3 gigabits when doing a single TCP socket. To go > far above that I need to do multipath, initiator-side RAID, or RDMA. > > Thanks, > Mark > > > -- > You received this message because you are subscribed to the Google Groups > "open-iscsi" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/open-iscsi. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/open-iscsi. For more options, visit https://groups.google.com/d/optout.
