Re: Getting the bus/adapter transfer size/rate



"S. Heck"
Good question. I installed WS2K3 on a IBM xSeries 226 so it is highly
possible I don't have the latest - greatest drivers. Will have to check
into
that.

BTW is 128KB the max single transfer length for ATA and SATA? As I
mentioned I am trying to make a ~ 2.4 MB SPTI data transfer but I highly
suspect this is not possible on any interface (SCSI, FC, USB, IEEE-1394).

Thanks!

"bill" wrote:

"S. Heck"
I ran into the following with a SATA tape drive on Windows Server 2003.

IOCTL_STORAGE_QUERY_PROPERTY

Adapter Properties
------------------
Bus Type : ATA
Maximum Transfer Length: 0x20000
Maximum Physical Pages: 0xffffffff (?????)
Alignment Mask : 0x1

IOCTL_SCSI_GET_CAPABILITIES

Maximum Transfer Length: 0x20000
Maximum Physical Pages: 0x20 (?????)
Alignment Mask : 0x1

Is this expected behavior?

Also is it possible to increase Maximum Transfer Size and Physical
Pages
to
make ~ 2.4 MB SPTI data transfers? If not is there any other interface
that
this possible?

"bill" wrote:

Ref: thread of March 23, 2007, subject "Great Then 64KB SPTI Data
Transfers?"

For several device types it's vital to know the transfer length/rate
for
the
bus/adapter they are attached to. What method does Windows provide
to programmers to get this information ?

I know about ...
IOCTL_STORAGE_QUERY_PROPERTY /
STORAGE_ADAPTER_DESCRIPTOR /
MaximumTransferLength for PnP and
IOCTL_SCSI_GET_CAPABILITIES /
IO_SCSI_CAPABILITIES /
MaximumTransferLength for older non-PnP devices.

But these don't work for the current crop of SATA & PATA devices.
What about other bus/adapter types like firewire & usb ?

Do we need to use WMI ... which seems like a lot of work to get such
basic info ?

Thanks,

BillM


Can we assume the correct SATA driver(s) have been installed ?
And the system motherboard/bios/bus etc. is fast enoungh to take
advantage of the increased through-put ?

BillM


Bus Type : ATA
Unless your mobo has SATA controller/ports, your SATA device
should be connected to a PCI/SATA adapter card. Otherwise it
will not do very well or may not work at all.

I see Serial ATA 2-Port SATA PCI Controller Card Adapters with
transfer rate of 1.5Gb/s (1500Mb/s) selling on the net for $20 USD.
The ports work for most SATA devices (hard drives, DVD drives)
but check 1st that it works for a tape drive.

BillM




.



Relevant Pages

  • Re: pitiful performance of an SATA150 drive
    ... No other SATA devices are present -- the only other IDE device is the DVD ... this because it shows general information about the drives. ... Western Digital Caviar SE (Serial ATA) family ... SMART support is: Available - device has SMART capability. ...
    (freebsd-stable)
  • Re: [ANNOUNCEMENT] Wiki for discussing P35/IHC9(R)/SATA issues set up
    ... Turning on or off a ATA interface (PATA or SATA) seems to ... Seagate chose to limit the drives to SATA150 via ... Does the mainboard BIOS even support it for ATAPI? ...
    (freebsd-current)
  • Re: Getting the bus/adapter transfer size/rate
    ... Adapter Properties ... Bus Type: ATA ... BTW is 128KB the max single transfer length for ATA and SATA? ...
    (microsoft.public.development.device.drivers)
  • Re: External or Internal Harddrive, which one to get?
    ... on some motherboards it prevents glitches that are present in SATA ... some very recent drives are not available in ATA ... more expensive than SCSI ...
    (rec.audio.pro)
  • Re: OK to use PATA to SATA adaptor?
    ... They won't but you may find that buying a proper SATA card is ... cheaper than the adapter and get's you more ports for the money. ... >> adapters so I can re-use all my current IDE drives. ...
    (comp.sys.ibm.pc.hardware.storage)