Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* SCU & interleave & seagate ST15150N scsi
@ 2001-04-28 12:32 Uncle George
  2001-04-28 21:21 ` Maciej W. Rozycki
  2001-04-30 13:20 ` Robin T. Miller
  0 siblings, 2 replies; 6+ messages in thread
From: Uncle George @ 2001-04-28 12:32 UTC (permalink / raw)
  To: Robin.Miller, axp-list

This device does multiple blocksizes  up to 4096bytes/block

Going beyond 512bytes/block has a big performence hit  ~1/2 of the
512bytes/block

I tried to set the interleave in the format command, but it gave a

scu> format interleave 3
Formatting device /dev/sda (ST15150N), please be patient...
 Working ... Sat Apr 28 07:48:31 2001
scu: 'format unit' failed on device 'ST15150N' at nexus [0/1/0]
scu: Sense Key = 0x5 = ILLEGAL REQUEST - Illegal request or CDB
parameter,
     Sense Code/Qualifier = (0x24, 0) = Invalid field in CDB

scu> format interleave 4
Formatting device /dev/sda (ST15150N), please be patient...
 Working ... Sat Apr 28 07:48:39 2001
scu: 'format unit' failed on device 'ST15150N' at nexus [0/1/0]
scu: Sense Key = 0x5 = ILLEGAL REQUEST - Illegal request or CDB
parameter,
     Sense Code/Qualifier = (0x24, 0) = Invalid field in CDB
scu>

scu> format
Formatting device /dev/sda (ST15150N), please be patient...
 Working ... Sat Apr 28 07:48:50 2001
 Working ... Sat Apr 28 07:50:50 2001
 Working ... Sat Apr 28 07:52:50 2001



DOCUMENTATION suggests that it can do interleaves greated than 1, ie

General performance characteristics
Minimum sector interleave    1 to 1
Data buffer to/from disc media    512-byte sector
Data transfer rate (  1 sector)
Minimum    5.30 Mbytes/sec*
Maximum    8.94 Mbytes/sec*
Data transfer rate (< 1 track)
Minimum, divided by interleave factor    3.56 Mbytes/sec
Maximum, divided by interleave factor    7.65 Mbytes/sec


Is it HARDWARE,  or software problem.  How can I tell.



BTW:    FYI - axp-list@redhat.com




^ permalink raw reply	[flat|nested] 6+ messages in thread
* RE: SCU & interleave & seagate ST15150N scsi
@ 2001-04-28 15:23 Paul Bunn
  2001-04-28 18:18 ` Uncle George
  0 siblings, 1 reply; 6+ messages in thread
From: Paul Bunn @ 2001-04-28 15:23 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

It's neither.  It's a restriction implemented in firmware.  Any value of an
interleave of anything but 1 (if supported, or not ignored) will degrade
performance.  Interleave is an age-old technique used to improve I/O performance
back in the day when CPU/bus bandwidth was unable to process disk data quickly
enough (and more importantly before disk drives had on-board cache).

I'm surprised you're noting performance degradation when using block sizes other
than 512 -- typically this makes little difference.  It could be that the OS that
is responsible.  Or, more likely, the software you use to measure performance has
a bug where it's assuming that a sector/block size is 512bytes.  But weren't you
the person asserting a while back that SCSI devices couldn't do different
sector/block sizes ?

No offense, but I'm growing more and more convinced that you are a living
embodiment of the phrase "a little knowledge can be a dangerous thing".

-Paul

-----Original Message-----
From: Uncle George [mailto:gatgul@voicenet.com]
Sent: Saturday, April 28, 2001 5:33 AM
To: Robin.Miller@Compaq.com; axp-list@redhat.com
Subject: SCU & interleave & seagate ST15150N scsi


This device does multiple blocksizes  up to 4096bytes/block

Going beyond 512bytes/block has a big performence hit  ~1/2 of the
512bytes/block

I tried to set the interleave in the format command, but it gave a

scu> format interleave 3
Formatting device /dev/sda (ST15150N), please be patient...
 Working ... Sat Apr 28 07:48:31 2001
scu: 'format unit' failed on device 'ST15150N' at nexus [0/1/0]
scu: Sense Key = 0x5 = ILLEGAL REQUEST - Illegal request or CDB
parameter,
     Sense Code/Qualifier = (0x24, 0) = Invalid field in CDB

scu> format interleave 4
Formatting device /dev/sda (ST15150N), please be patient...
 Working ... Sat Apr 28 07:48:39 2001
scu: 'format unit' failed on device 'ST15150N' at nexus [0/1/0]
scu: Sense Key = 0x5 = ILLEGAL REQUEST - Illegal request or CDB
parameter,
     Sense Code/Qualifier = (0x24, 0) = Invalid field in CDB
scu>

scu> format
Formatting device /dev/sda (ST15150N), please be patient...
 Working ... Sat Apr 28 07:48:50 2001
 Working ... Sat Apr 28 07:50:50 2001
 Working ... Sat Apr 28 07:52:50 2001



DOCUMENTATION suggests that it can do interleaves greated than 1, ie

General performance characteristics
Minimum sector interleave    1 to 1
Data buffer to/from disc media    512-byte sector
Data transfer rate (  1 sector)
Minimum    5.30 Mbytes/sec*
Maximum    8.94 Mbytes/sec*
Data transfer rate (< 1 track)
Minimum, divided by interleave factor    3.56 Mbytes/sec
Maximum, divided by interleave factor    7.65 Mbytes/sec


Is it HARDWARE,  or software problem.  How can I tell.




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-04-30 13:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-28 12:32 SCU & interleave & seagate ST15150N scsi Uncle George
2001-04-28 21:21 ` Maciej W. Rozycki
2001-04-30 13:20 ` Robin T. Miller
  -- strict thread matches above, loose matches on Subject: below --
2001-04-28 15:23 Paul Bunn
2001-04-28 18:18 ` Uncle George
2001-04-28 18:35   ` Maurice Hilarius

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox