I don’t think you will ever be able to get 50Mbps out of memory mapped I/O. And even if you get to transfer 50Mbps, your CPU will be quite loaded transferring data, not a good thing. You need to redesign your device and use DMA.
Have a nice day
GV
–
Gianluca Varenni, Windows DDK MVP
CACE Technologies
http://www.cacetech.com
----- Original Message -----
From: Abhishek Joshi
To: Windows System Software Devs Interest List
Sent: Friday, March 28, 2008 11:38 AM
Subject: RE: [ntdev] PCI/PCIe throughput performance
We are planning to send out 50 MBps of data.
Thanks & Regards
Abhishek Joshi
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Gianluca Varenni
Sent: Friday, March 28, 2008 11:00 AM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] PCI/PCIe throughput performance
Probably it’s obvious and your hardware cannot be changed but… the most optimized way to transfer data to/from a PCI/PCIe device is using DMA. Memory mapped I/O to/from a device is slow, and it’s generally used to either control/program the device, or to transfer data at very low rates.
What is the amount of data that you are trying to transfer with memory mapped i/o?
Have a nice day
GV
–
Gianluca Varenni, Windows DDK MVP
CACE Technologies
http://www.cacetech.com
----- Original Message -----
From: Abhishek Joshi
To: Windows System Software Devs Interest List
Sent: Friday, March 28, 2008 10:26 AM
Subject: [ntdev] PCI/PCIe throughput performance
Hi All,
We are using the “WRITE_REGISTER_BUFFER_ULONG” macro to transfer data from Windows/PC to our device. I was wondering if this is the most optimized way of transferring data or we can do some MMX programming to improve the throughput. I assume that this macro transfers one word at a time. Thus, if we can transfer more than one word somehow, that might improve the throughput over PCI/PCIe drastically.
Thanks & Regards
Abhishek Joshi
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer