Re: Getting the bus/adapter transfer size/rate
- From: "bill" <fence61775@xxxxxxxxxxx>
- Date: Sat, 31 Mar 2007 16:27:44 -0700
"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
You need to check that your mobo supports SATA and has the latest bios
update. Also check that your win OS has the latest service patch.
The driver(s) for your device should come with it ? Or maybe it's native to
the win OS ? You could try the comp.arch.storage newsgroup.
BTW is 128KB the max single transfer length for ATA and SATA?How do you get the max transfer length for for all HA types.
That's what I want to know. I hope some expert has an answer.
Regards,
BillM
.
- Prev by Date: Re: New to driver developing
- Next by Date: Re: Win98 DDK
- Previous by thread: Re: New to driver developing
- Next by thread: Re: Getting the bus/adapter transfer size/rate
- Index(es):
Relevant Pages
|