Re: max_sectors_kb so small, throughout so small

2019-02-15 Thread Chan
Hello I am having very similar issue. Scenario 1 )When I mount a rbd volume directly using rbd map command to a linux kernel. I am getting good performance. when I do dd on the above volume, I am getting 380 - 430 MB's. -- I am good with this. Scenario 2 ) I am using iscsi-gateway.

Re: max_sectors_kb so small, throughout so small

2018-09-21 Thread 3kboy2424
Thank you for your opinion of max_sectors_kb, Ulrich. It provided me some inspiration for understanding the whole thing. Thank you for your advice, Mike. I will tune some parameters as you have mentioned below. I will share if I could make achievements in performance tuning. 在 2018年9月21日星期五

Re: max_sectors_kb so small, throughout so small

2018-09-20 Thread Mike Christie
On 09/12/2018 09:26 PM, 3kboy2...@gmail.com wrote: > Thank you for your reply, Mike. > Now my iscsi disk performance can be around 300MB/s in 4M sequence > write(TCMU+LIO) > It increase from 20MB/s to 300MB/s, after I can change max_data_area_mb > from 8 to 256 && hw_max_sectors from 128 to 8192.

Antw: Re: max_sectors_kb so small, throughout so small

2018-09-13 Thread Ulrich Windl
Hi! I'm somewhat surprised: Maybe it's all about latency, because with FC-SAN we typically see a performance _decrease_ if large sequential requests are being transmitted. So actually we did limit the default amount of max_sectors_kb. Most "intelligent" SAN systems break down large requests to

Re: max_sectors_kb so small, throughout so small

2018-09-12 Thread 3kboy2424
Thank you for your reply, Mike. Now my iscsi disk performance can be around 300MB/s in 4M sequence write(TCMU+LIO) It increase from 20MB/s to 300MB/s, after I can change max_data_area_mb from 8 to 256 && hw_max_sectors from 128 to 8192. To my cluster, after a lot of tests I found that I should

Re: max_sectors_kb so small, throughout so small

2018-09-11 Thread Mike Christie
On 09/11/2018 11:30 AM, Mike Christie wrote: > Hey, > > Cc mchri...@redhat.com, or I will not see these messages until I check > the list maybe once a week. > > On 09/05/2018 10:36 PM, 3kboy2...@gmail.com wrote: >> What lio fabric driver are you using? iSCSI? What kernel version >>

Re: max_sectors_kb so small, throughout so small

2018-09-11 Thread Mike Christie
Hey, Cc mchri...@redhat.com, or I will not see these messages until I check the list maybe once a week. On 09/05/2018 10:36 PM, 3kboy2...@gmail.com wrote: > What lio fabric driver are you using? iSCSI? What kernel version > and > what version of tcmu-runner? > > io

Re: max_sectors_kb so small, throughout so small

2018-09-05 Thread 3kboy2424
Sorry ,the capture for targetcli seems can not display correctly.Paste it again. o- / . [...] o- backstores

Re: max_sectors_kb so small, throughout so small

2018-09-04 Thread Mike Christie
On 09/03/2018 02:31 AM, 3kboy2...@gmail.com wrote: > Hello Mike, > > I am very appreciate for your instruction. > Now I can set hw_max_sectors through targcli when i create the device. > I set it to 8192 same as raw rbd device. > The performance improve a little, 4M seq write increase from

Re: max_sectors_kb so small, throughout so small

2018-09-03 Thread 3kboy2424
Hello Mike, I am very appreciate for your instruction. Now I can set hw_max_sectors through targcli when i create the device. I set it to 8192 same as raw rbd device. The performance improve a little, 4M seq write increase from 24MB/s to 40MB/s.(hw_max_sectors 64->8192, it is a

Re: max_sectors_kb so small, throughout so small

2018-09-03 Thread 3kboy2424
Hello Mike, I am very appreciate for your instruction. Now I can set hw_max_sectors through targcli when i create the device. I set it to 8192 same as raw rbd device. The performance improve a little, 4M seq write increase from 24MB/s to 40MB/s.(hw_max_sectors 64->8192, it is a

Re: max_sectors_kb so small, throughout so small

2018-09-02 Thread 3kboy2424
Hello Mike, Thank you for your informative response. 在 2018年8月28日星期二 UTC+8上午8:49:46,Mike Christie写道: > > On 08/21/2018 08:52 PM, 3kbo...@gmail.com wrote: > > Hi folks, > > > > I am newbie to open-iscsi. > > My case is I export ceph rbd by open-iscsi. > > > > I found the max_sectors_kb is

Re: max_sectors_kb so small, throughout so small

2018-08-27 Thread Mike Christie
On 08/21/2018 08:52 PM, 3kboy2...@gmail.com wrote: > Hi folks, > > I am newbie to open-iscsi. > My case is I export ceph rbd by open-iscsi. > > I found the max_sectors_kb is 64, the value is so small, and 4M sequence > write is only about 10MB/s. > I can not increase max_sectors_kb, if I do it