Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > My WFP driver hits low performance on win7

Reply
Thread Tools Display Modes

My WFP driver hits low performance on win7

 
 
Fei Zhang
Guest
Posts: n/a

 
      07-12-2010
I revised the inspect sample driver, add the filter to capture all inbound
packets, set action to FWP_ACTION_BLOCK if the injection state is neither
FWPS_PACKET_INJECTED_BY_SELF nor FWPS_PACKET_PREVIOUSLY_INJECTED_BY_SELF,
and reinject these packets from the InspectWorker thread. Then I use chariot
to test the tcp performance with 1 rx pair and 1 tx pair.
After my inspect driver is loaded, the rx+tx performance will be about
only 450Mbps, and the cpu usage is about 70%. If my driver is unloaded, the
rx+tx performance will be about 1.45Gbps, and the cpu usage is ranging from
10%-60%, the average is about only 35%.
2cores cpu: Intel(R) Pentium(R) 4 cpu 3.00GHz, 3.02GHz
RAM 1G
It seems that the cpu usage is too high after my driver is loaded. Has
anybody got high performance with filtering all inbound packets?
Thanks a lot in advance for any suggestions.
Fei Zhang



__________ Information from ESET NOD32 Antivirus, version of virus signature database 5270 (20100711) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com




 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing self written USB driver blocks Win7 CSMH Windows Vista Drivers 0 06-30-2010 10:21 AM
What's the different for PNPDTest between WLK 1.5 and WLK 1.2 Wayne Windows Vista Drivers 2 01-18-2010 08:32 PM
crcdisk.sys start up problem (with boot log) Jimmy Windows Vista Hardware 2 08-13-2007 07:22 PM
BUGCODE_USB_DRIVER with external USB HDD PHILIPS Deathwing00 Windows Vista Hardware 11 06-15-2007 07:02 PM
Trouble with driver on Windows Vista Beta 2 sujatha Windows Vista Installation 0 06-08-2006 06:44 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59