查看文章 |
ISCSI target 性能调节
2008年03月29日 星期六 13:36
Some Performance tuningFrom ISCSItargetJump to: navigation, search
I got an extra 6.7%. I went from 29.5MB/sec to 31.5MB/sec. This is writing to a raw partition on the iSCSI target. When I write to the NTFS file system on the iSCSI target I get about 30.2MB/sec. Here is what I did to Linux: echo "1" > /proc/sys/net/ipv4/tcp_window_scaling echo "1" > /proc/sys/net/ipv4/tcp_timestamps echo [wmax] > /proc/sys/net/core/rmem_max echo [wmax] > /proc/sys/net/core/wmem_max echo [wmax] > /proc/sys/net/core/rmem_default echo [wmax] > /proc/sys/net/core/wmem_default echo "[wmin] [wstd] [wmax]" > /proc/sys/net/ipv4/tcp_rmem echo "[wmin] [wstd] [wmax]" > /proc/sys/net/ipv4/tcp_wmem echo "bmin bdef bmax" > /proc/sys/net/ipv4/tcp_mem ifconfig eth1 txqueuelen 1000 here is what I did to ietd.conf InitialR2T No ImmediateData Yes xMaxRecvDataSegmentLength 262144 I am transferring 1MB data objects to the raw unformatted volume. On the Linux 2.6 redhat box I am using a Intel(R) PRO/1000 Network Driver - version 5.6.10.1-k2-NAPI On the Windows 2000 iScsi initiator I am using a QLogic QLA4010c |
最近读者: