Hello there. I use the same mechanism in NT and Win2000 for signalling the
user that the driver has data in some custom queue
Driver : 1. ISR, 2. DPCFORICR, 3. READ_CARD_DATA, 4. LOAD_IN_QUEUE, 5.
Signal event with KeSetEvent(event, IO_NO_INCREMENT).
User : 1. WaitForSingleObject, 2. When signalled -> get_data.
IOCTL method is set to METHOD_NEITHER.
In Win2000 the system is slower than in NT.
Any ideas?
Nikolas Stylianides wrote:
In Win2000 the system is slower than in NT.
In my experience, the above statement is true. Not just for the case you
cite, but in general. Newer, more complex, system often means a slower
and more complex system.
Such is the world of software,
Peter
OSR
I verified it yesterday. In NT, my receiving user-thread has less starvation
than in Win2K. Therefore in NT driver queues become full much later than in
Win2K. I use KeSetEvent with IO_NETWORK_INCREMENT to boost the thread
execution but it has better effect in NT than in Win2k.
Thank you for your reply,
Nikolas Stylianides.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of PeterGV (OSR)
Sent: Thursday, June 09, 2005 5:21 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] KeSetEvent
Nikolas Stylianides wrote:
In Win2000 the system is slower than in NT.
In my experience, the above statement is true. Not just for the case you
cite, but in general. Newer, more complex, system often means a slower
and more complex system.
Such is the world of software,
Peter
OSR
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@4plus.com
To unsubscribe send a blank email to xxxxx@lists.osr.com