LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 01-23-2013, 07:18 AM   #1
dgashu
Member
 
Registered: Apr 2010
Location: Banglore
Distribution: fedora , rhel,Ubuntu
Posts: 61

Rep: Reputation: 1
Preferred way to send 25-30K data from KERNEL to USER space ?????


Hi All ,

1. We want to read 25-30K data from a memory using DMA and send
it back to USER-SPACE.

2. At present i am doing an dma_alloc_coherent of size 6K from
KERNEL and copying the data to user space buffer using copy_to_user
function call.

3. Can u guys please let me know what is the best mechanism
to transmit around 30K[Presently 7K] to user space .

The operation at present is slow rate , but we need to increase
the speed of transmission also.
[ Presently we have around 12MBytes/sec which we are aiming to
increase to around 25MBytes/sec]

-> So at high speed and large chunk what mechanism should i implement
-> I am not using x86 architecture. We are using OMAP processor
from Texas Instruments with ARM + LINUX
-> Also initial aim is to transfer large chunk , then the throughput
part

Thank You,
Ashish Mishra
[Banglore / India]
 
Old 01-23-2013, 11:00 PM   #2
dgashu
Member
 
Registered: Apr 2010
Location: Banglore
Distribution: fedora , rhel,Ubuntu
Posts: 61

Original Poster
Rep: Reputation: 1
Hi All ,

Any input for the same .

The priority is to understand the best mechanism to transmit large data to user space .

Thank You,
Ashish Mishra
[Banglore / India]
 
Old 01-29-2013, 06:41 AM   #3
dgashu
Member
 
Registered: Apr 2010
Location: Banglore
Distribution: fedora , rhel,Ubuntu
Posts: 61

Original Poster
Rep: Reputation: 1
MMAP can be used for higher size ....
 
  


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
Send Events from Kernel space to User Space bkankru Linux - Kernel 1 03-04-2011 04:24 PM
how to send events from kernel module to user space process yugandhar Linux - Kernel 2 02-21-2011 10:39 AM
Kernel Module to send Message to User Space Application hnshashi Linux - Newbie 2 08-22-2008 12:48 AM
How to share data b/w user space and kernel space nandac Linux - Kernel 1 11-28-2006 10:15 PM
How to send data from kernel to user thegreatest Programming 5 11-23-2005 06:55 AM

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

All times are GMT -5. The time now is 06:50 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