Wrong track.
Disks require transfers in units of sector size. There is no such thing
as writing in different units - its how drives work. The speed of light
in a vacuum is c, you have to write to disks in their native sector size
… if your purpose is to simply excercise the PCI bus in different
units, doing it through disk I/O is not the answer. You will have to
find a device that will permit this.
If your purpose is to stress the PCI bus in the context of disk I/O,
then yes, this would be irrelevent.
-----Original Message-----
From: Sapariya Manish.j [mailto:xxxxx@zensar.com]
Sent: Wednesday, January 31, 2001 12:22 AM
To: File Systems Developers
Subject: [ntfsd] RE: writing n no. of bytes to disks
HI,
Yes, I can specify file no buffering opetion while creating the file,
but the it have restriction that i can write blocks of multiple of
volume
sector size and in this case is 512.
But i want to write buffer of 1 byte to disk.
And one more thing,
My primary purpose here is to exercise the pci bus, i.e. I want to
initiate
bus transfer of various data sizes.
Am i on the right track, or am i doing something irrelevant??
Regards,
Manish
-----Original Message-----
From: RB [mailto:xxxxx@softhome.net]
Sent: Wednesday, January 31, 2001 12:58 PM
To: File Systems Developers
Subject: [ntfsd] RE: writing n no. of bytes to disks
You can turn off Caching for a file by setting flags in the CreateFile()
API
from your application.
An alternative is to have your filter driver that will directly write
data
to the disk. But this is much more complex since you have to be careful
about what sectors and offsets you write to otherwise you might end up
corrupting the FileSystem metadata.
regds
RB
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Sapariya Manish.j
Sent: Wednesday, January 31, 2001 12:01 PM
To: File Systems Developers
Subject: [ntfsd] writing n no. of bytes to disks
Hi all,
I am developing a application to stress the buses and devices in the
machine.
For that i want to write to the disks n no. of bytes where n may vary
from 1
to any possible max no, without the cache manager
of windows filtering my write/read requests.
First thing i want to know is
-
Is it possible at all from application, (which i think is not, but in
case if somebody might know).
-
Is it possible by writing any filter driver or something of that
kind.
-
If answer to any of the above is yes, could u please give me some
clues,
or where can i get more information regarding this issue.
thanx and regards,
Manish
You are currently subscribed to ntfsd as: xxxxx@softhome.net
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You are currently subscribed to ntfsd as: xxxxx@zensar.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You are currently subscribed to ntfsd as: xxxxx@exchange.microsoft.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com