Hi All,
there are two bugs in the diskperf.sys . to the first one I suggested
two bypass (one for testing purpose and one as permanent solution ). if
you can help we with overcoming the second bug, it will be greatly
apprecated ( any ides )
the first one:
I can’t use the ioctl interface unless I am simulating a (com)
connection to the perf monitor (\.\root\cimv2) which uses the wmi
interface and sets the attach variable which makes the driver collect
statistics.( otherwise it will return zeros or standing numbers(
unchanged) ).(I all ready debugged the driver ones it the only
workaround).
(you can bypass this bug( for checking matters only ) if you run the
performance monitor application with any of disk performance value
running while your running your code ).
the second one: seen only on a SCSI hard disk (installed on Compaq
ap550, dual processor machine with a win2k pro oem operating system
installed )(1000mhz)
as I use the ioctl - IOCTL_DISK_PERFORMANCE it returns the disk
performance struct with
one or two negative fields :(I could send the screen capture,if you want
it send me your email addres) it’s look like
it’s randomly setting this negative values in the different time values
( read, write, idle)
WriteTime.QuadPart ( the High part is -1 or maybe -2 sometimes if I
recall right )
IdleTime.QuadPart ( the High part is -1 )
the performance frequency is relative high : 99,000 something, (but it
doesn’t look like an overflow).
while on my other system it is 1112 (500mhz single processor ).
the performance monitor seems to show correct and reasonable numbers, so
I think that there is a work around this or maybe some cast or like .I
tried to change the HighPart value to zero but the numbers don’t looks
reasonable .
If i could only know how the performance monitor cast this numbers?
you can’t use the ioctl interface so you should simulate a connection
to the perf monitor(dll) as I noted before:
you can collect numbers if you run the performance monitor application
with any of disk performance value running while your running your code
.
thanks a lot ,
Daniel.
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