Re: Antw: Re: Best way to create multiple TCP flows on 10 Gbps link

2014-08-28 Thread Ulrich Windl
 Mike Christie micha...@cs.wisc.edu schrieb am 27.08.2014 um 23:49 in
Nachricht 53fe5276.2060...@cs.wisc.edu:
 On 08/27/2014 02:24 AM, Ulrich Windl wrote:
 Learner Study learner.st...@gmail.com schrieb am 27.08.2014 um 02:13 in
 Nachricht
 CAP8+hKW=HApS+=vxeaaibtbbd7yzndu4squt+84se99aglc...@mail.gmail.com:
 Hi Mike,

 Thanks for suggestions

 I think you meant,

 echo 1  /sys/block/sdX/device/delete

 I don't see /sys/block/sdX/device/remove in my setup.
 
 I'm not sure: Is it echo offline  /sys/block/sdX/device/state, echo 
 scsi 
 remove-single-device ${host} ${channel} ${id} ${lun}  /proc/scsi/scsi, or 
 echo 1  
 /sys/class/scsi_device/${host}:${channel}:${id}:${lun}/device/delete
 ?
 
 
 To delete a device just do
 
 echo 1  /sys/block/sdX/device/delete

I think the confusing thing is that you don't see a delete in  
/sys/block/sdX/device.

 
 You can also do it through proc if it is enabled for your kernel.
 
 No need to offline the device before deleting. The scsi layer will
 handle the device state transitions.
 
 -- 
 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 open-iscsi+unsubscr...@googlegroups.com.
 To post to this group, send email to open-iscsi@googlegroups.com.
 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 open-iscsi+unsubscr...@googlegroups.com.
To post to this group, send email to open-iscsi@googlegroups.com.
Visit this group at http://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.


Re: Antw: Re: Best way to create multiple TCP flows on 10 Gbps link

2014-08-28 Thread Mike Christie
On 08/28/2014 12:59 AM, Ulrich Windl wrote:
  To delete a device just do
  
  echo 1  /sys/block/sdX/device/delete
 I think the confusing thing is that you don't see a delete in  
 /sys/block/sdX/device.

Not sure what you mean. I do:

ls  /sys/block/sda/device/
block   evt_media_change  max_sectors  rescanstate
bsg generic   modalias rev   subsystem
delete  iocounterbits modelscsi_device   timeout
device_blocked  iodone_cntpowerscsi_disk type
dh_stateioerr_cnt queue_depth  scsi_generic  uevent
driver  iorequest_cnt queue_type   scsi_levelvendor

-- 
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 open-iscsi+unsubscr...@googlegroups.com.
To post to this group, send email to open-iscsi@googlegroups.com.
Visit this group at http://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.


Re: Antw: Re: Best way to create multiple TCP flows on 10 Gbps link

2014-08-28 Thread Mike Christie
On 08/28/2014 11:29 AM, Mike Christie wrote:
 On 08/28/2014 12:59 AM, Ulrich Windl wrote:
 To delete a device just do

 echo 1  /sys/block/sdX/device/delete
 I think the confusing thing is that you don't see a delete in  
 /sys/block/sdX/device.
 
 Not sure what you mean. I do:
 
 ls  /sys/block/sda/device/
 block   evt_media_change  max_sectors  rescanstate
 bsg generic   modalias rev   subsystem
 delete  iocounterbits modelscsi_device   timeout
 device_blocked  iodone_cntpowerscsi_disk type
 dh_stateioerr_cnt queue_depth  scsi_generic  uevent
 driver  iorequest_cnt queue_type   scsi_levelvendor
 

Ah, I see. I think depending on the kernel config options used the
device symlink might not even be there.

-- 
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 open-iscsi+unsubscr...@googlegroups.com.
To post to this group, send email to open-iscsi@googlegroups.com.
Visit this group at http://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.


RE: iscsi over RBD performance tips?

2014-08-28 Thread Gruher, Joseph R
Note that librados can access data from all nodes in the cluster while iSCSI 
will funnel the data through whatever node or proxy is hosting the iSCSI 
target.  What does your overall network and storage layout look like?  Number 
of systems, number and type of disks, how are Ceph journals set up, etc?

From: open-iscsi@googlegroups.com [mailto:open-iscsi@googlegroups.com] On 
Behalf Of Wyllys Ingersoll
Sent: Tuesday, August 26, 2014 2:05 PM
To: open-iscsi@googlegroups.com
Subject: Re: iscsi over RBD performance tips?

iscsi performance to a RAM disk iscsi target using the same fio parameters, 
yields a 1GB/second throughput for both read and write operations, compared to 
about 400(r)/400(w) MB/second using an RBD based backend over a 10GB link.

My fio job file looks like this (change 'randread' to 'randwrite' for the write 
test and modify the filename device to switch between the ramdisk and rbd).

[default]
rw=randread
size=10g
bs=1m
ioengine=libaio
direct=1
numjobs=1
filename=/dev/sdb
runtime=600
write_bw_log=iscsiread
iodepth=256
iodepth_batch=256


--
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 
open-iscsi+unsubscr...@googlegroups.commailto:open-iscsi+unsubscr...@googlegroups.com.
To post to this group, send email to 
open-iscsi@googlegroups.commailto:open-iscsi@googlegroups.com.
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 open-iscsi+unsubscr...@googlegroups.com.
To post to this group, send email to open-iscsi@googlegroups.com.
Visit this group at http://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.