LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-05-2010, 02:12 PM   #1
orback
LQ Newbie
 
Registered: Oct 2009
Posts: 7

Rep: Reputation: 0
Low transfer speed for PCI express driver


Hi,

I am currently writing a PCI-express driver for a lab-PCIcard with a lots of memory on it. The driver should be used to access the memory and transport large amounts of data. My problem is that I cannot get good enough transfer speed on bus. I am using mmap in the driver and in my user application to map the PCI cards memory right up in userspace. Then I am using memcpy to read and write to the mmaped area. The transfer speed I get is 25Mb/s when writing from the PC to the PCIcard but only 2,5Mb/s when reading from the card to the PC. Why does it differ that much? Can any one give me some tips about how to increase the transfer speed? Can I do burst read/writes in any way? The PCI card do not have a DMA controler is it possible to use one from the motherboard if present?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PCI Express speed conversion zhjim Linux - Hardware 4 12-08-2009 02:51 PM
Ethernet e1000e(on PCI express) driver - with kernel 2.2.12, please help... vico3000 Programming 1 11-22-2009 09:02 AM
Graphics Card: PCI Express x16 Detected as PCI Express Link width: 4X deepclutch Linux - Hardware 3 06-09-2007 11:10 AM
ATI Radeon X1050 PCI Express graphics driver? Erik_FL Linux - Hardware 10 04-22-2007 03:21 PM
DISK Speed (Transfer LOW) PROBLEM! apinta10 Slackware 8 10-11-2005 04:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration