Innovative Integration
 
Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
Bus Master size on X5-RX

 
Post new topic   Reply to topic    II Support Forum Index -> X5-RX
View previous topic :: View next topic  
Author Message
mrodby



Joined: 09 Feb 2010
Posts: 36

PostPosted: Thu Mar 11, 2010 1:50 pm    Post subject: Bus Master size on X5-RX Reply with quote

Since there is no forum for the X5-RX yet, I wasn't sure where to post this question:

What are the maximum and minimum sizes that can be chosen for the Bus Master buffer for the X5-RX? The Snap sample application has a comment saying that the size must be a multiple of 4 MB, but it does not give limits.
Back to top
View user's profile Send private message
jhenderson
Site Admin


Joined: 07 Mar 2006
Posts: 2252
Location: So. Cal. USA

PostPosted: Fri Mar 12, 2010 8:02 am    Post subject: Reply with quote

The size of the busmaster region is limited only by the operating system. OS calls are used to allocate page-locked, contiguous memory regions for use with bus mastering. Under 32-bit Windows, allocation of <= 32 MB regions is routinely available, whereas 32-bit Linux typically limits allocations to <= 4 MB.

This limitation is generally inconsequential except in applications attempting full-rate snapshot captures or waveform playback to/from system memory. However, even our X5 XMC cards can sustain only about 1.2 GB/s to/from system memory. Since memory subsystems on modern PCs typically support copy operations at ~5 GB/s, packets can flow between module and system memory in packets <= 1/4 of the BM size without compromising the sustained transfer rate of the module.

The new X6 cards support ~2.4 GB/s sustained rates. So in that case, the time spent copying data from the BM pool into application buffers could limit rates.
Back to top
View user's profile Send private message Visit poster's website
mrodby



Joined: 09 Feb 2010
Posts: 36

PostPosted: Fri Mar 12, 2010 2:37 pm    Post subject: Reply with quote

Is there a way to increase the limit under 32-bit Linux, such as a kernel compile time switch?
Does 64-bit Linux have the same 4 MB limit?
Back to top
View user's profile Send private message
jhenderson
Site Admin


Joined: 07 Mar 2006
Posts: 2252
Location: So. Cal. USA

PostPosted: Fri Mar 12, 2010 3:50 pm    Post subject: Reply with quote

I do not know of a way to increase the OS BM size limit. I believe the limit is unchanged under 64-bit Linux.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    II Support Forum Index -> X5-RX (GMT - 8 Hours)
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

© Copyright 2006-2012 Innovative Integration
Powered by phpBB © 2001, 2002 phpBB Group
Based on iCGstation v1.0 Template By Ray © 2003, 2004 iOptional