百度空间 | 百度首页 
 
查看文章
 
ISCSI target 性能调节
2008年03月29日 星期六 13:36

Some Performance tuning

From ISCSItarget

Jump 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


类别:linux类 | 添加到搜藏 | 浏览() | 评论 (0)
 
最近读者:
 
网友评论:
发表评论:
姓 名:
网址或邮箱: (选填)
内 容:
验证码: 请点击后输入四位验证码,字母不区分大小写
      

     

©2009 Baidu