LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 07-08-2004, 10:11 AM   #1
HokieRicky
LQ Newbie
 
Registered: Jul 2004
Distribution: Mandrake 9
Posts: 2

Rep: Reputation: 0
DMA handling


I am working in Mandrake 9 on a data acquisition program involving DMA. My company has discovered experimentally that under windows 98, we are limited to a 32 MB DMA buffer size. Our company has thus switched to a linux approach. We have found that under linux there is a problem if we create a buffer size any larger than 128 MB. Currently, our approach is to create two smaller buffers and to switch back and forth in a ping pong fashion writing data to one while the other data buffer is being written out to file. With large file sizes (>128 MB) we are still discovering a data corruption problem. Is there any known limitation to 128 MB data file sizes? Is there a way to change a setting in the kernel to allow for larger DMA buffers and file sizes? Also, does anyone know how to set up a large ramdrive under linux? I am having difficulty creating a good ram drive with linux.

Thanks,
Ricky
 
  


Reply



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
Hard Drive Problems: timeout waiting for DMA; error waiting for DMA mintee Linux - Hardware 10 09-21-2007 05:06 AM
DMA works but not by default (despite "use DMA by default" kernel) mehlkelm Linux - Hardware 7 04-11-2005 03:29 PM
interrupt handling mp4-10 Programming 5 02-14-2005 06:13 AM
Suse 8.2 change my DMA setting on my DVD-R drive to off & IDE DMA MODE NOT SHOWING IT maximalred Linux - General 0 08-23-2003 04:58 AM
handling devices sajanjohn Linux - General 1 04-20-2002 02:18 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:37 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
Open Source Consulting | Domain Registration