* 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
* Re: SCU & interleave & seagate ST15150N scsi
2001-04-28 15:23 Paul Bunn
@ 2001-04-28 18:18 ` Uncle George
2001-04-28 18:35 ` Maurice Hilarius
0 siblings, 1 reply; 6+ messages in thread
From: Uncle George @ 2001-04-28 18:18 UTC (permalink / raw)
To: axp-list
Since u demonstrate no accurate knowledge on either the SCU program, nor the exact
details of the drive itself, even when documentation suggests otherwise, I can
still find your irresponsible replies to be unwelcome.
I'm sorry that u got burned for giving bad advice. But unlike you, I keep trying to
see the world exactly as it is, and not what one perceives it to be.
/gat
BTW your are offensive, and arrogant. This does not appear to bother you in the
slightest.
Paul Bunn wrote:
> 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.
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: SCU & interleave & seagate ST15150N scsi
2001-04-28 18:18 ` Uncle George
@ 2001-04-28 18:35 ` Maurice Hilarius
0 siblings, 0 replies; 6+ messages in thread
From: Maurice Hilarius @ 2001-04-28 18:35 UTC (permalink / raw)
To: axp-list
With regards to your message at 12:18 PM 4/28/01, Uncle George. Where you
stated:
>Since u demonstrate no accurate knowledge on either the SCU program, nor
>the exact
>details of the drive itself, even when documentation suggests
>otherwise, I can
>still find your irresponsible replies to be unwelcome.
C'mon guys, let's chill out..
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: SCU & interleave & seagate ST15150N scsi
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
1 sibling, 0 replies; 6+ messages in thread
From: Maciej W. Rozycki @ 2001-04-28 21:21 UTC (permalink / raw)
To: axp-list; +Cc: Robin.Miller
On Sat, 28 Apr 2001, Uncle George wrote:
> Is it HARDWARE, or software problem. How can I tell.
You may try to see if the error happens with the `scsiformat' program
(part of the scsiinfo package) as well. This would tell if that's the
problem with `scu' or with the drive. The `scsiformat' program is
available in the source form, so that may help debugging or looking at
actions that are performed.
I've successfully formatted SCSI disks with `scsiformat' a few times.
Maciej
--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@ds2.pg.gda.pl, PGP key available +
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: SCU & interleave & seagate ST15150N scsi
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
1 sibling, 0 replies; 6+ messages in thread
From: Robin T. Miller @ 2001-04-30 13:20 UTC (permalink / raw)
To: Uncle George; +Cc: axp-list
[-- Attachment #1: Type: text/plain, Size: 5240 bytes --]
Hi All,
The "ILLEGAL REQUEST" indicates the device doesn't like the
SCSI Format CDB sent. I think I've only used the interleave option
with SCSI floppies.
The drive may allow you to change for Format Device Mode Page.
Use Scu's "set page" or "change page" command to alter mode pages.
Also, if you wish to see SCSI CDB's issued, use "set debug on".
Regards,
Robin
===============================================
scu> show page format pcf all
Mode Page Parameters for Direct Access Device c: (DDYS-T18350N):
Format Device Page (0x03):
Headers: 23 00 10 08 00 00 00 00 00 00 02 00
Current: 83 16 20 31 00 00 00 00 00 00 00 fe 02 00 00 01 00 0b 00 14
40 00 00 00
Changeable: 83 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00
Default: 83 16 20 31 00 00 00 00 00 00 00 fe 02 00 00 01 00 0b 00 14
40 00 00 00
Saved: 83 16 20 31 00 00 00 00 00 00 00 fe 02 00 00 01 00 0b 00 14
40 00 00 00
scu>
scu> show page format
Format Device Parameters (Page 0x3 - Current Values):
Mode Parameter Header:
Mode Data Length: 35
Medium Type: 0 (Default Medium Type)
Device Specific Parameter: 0x10 (Supports DPO & FUA bits)
Block Descriptor Length: 8
Mode Parameter Block Descriptor:
Density Code: 0
Number of Logical Blocks: 0
Logical Block Length: 512
Page Header / Data:
Page Code: 0x3
Parameters Savable: Yes
Page Length: 22
Tracks per Zone: 8241
Alternate Sectors per Zone: 0
Alternate Tracks per Zone: 0
Alternate Tracks per Volume: 0
Sectors per Track: 254
Data Bytes per Physical Sector: 512
Interleave: 1
Track Skew Factor: 11 sectors
Cylinder Skew Factor: 20 sectors
Surface (SURF): Off
Removable Media (RMB): No
Hard Sector Formatting (HSEC): Yes
Soft Sector Formatting (SSEC): No
scu> show layout format
Format Device Page Layout (Page 0x3)
Field Description & Offset/Bit Information Set Name
------------------------------------------ --------
Tracks per Zone (bytes 2-3) -> tracks_per_zone
Alternate Sectors per Zone (bytes 4-5) -> alt_sectors_zone
Alternate Tracks per Zone (bytes 6-7) -> alt_tracks_zone
Alternate Tracks per Volume (bytes 8-9) -> alt_tracks_volume
Sectors per Track (bytes 10-11) -> sectors_per_track
Data Bytes per Physical Sector (bytes 12-13) -> bytes_per_sector
Interleave (bytes 14-15) -> interleave
Track Skew Factor (bytes 16-17) -> track_skew
Cylinder Skew Factor (bytes 18-19) -> cylinder_skew
Reserved (byte 20, bits 0:3) ->
Surface (SURF) (byte 20, bit 4) -> surface
Removable Media (RMB) (byte 20, bit 5) -> removable_mdeia
Hard Sector Formatting (HSEC) (byte 20, bit 6) -> hard_sector_format
Soft Sector Formatting (SSEC) (byte 20, bit 7) -> soft_sector_format
Reserved (byte 21) ->
Reserved (byte 22) ->
Reserved (byte 23) ->
scu>
Uncle George wrote:
> 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
[-- Attachment #2: Type: text/html, Size: 10653 bytes --]
^ 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