# USB performance and Win32

**URL:** <https://www.ruby-forum.com/t/usb-performance-and-win32/136698>\
**Category:** GNU Radio\
**Created:** [May 5, 2008, 5:36pm UTC](https://www.ruby-forum.com/t/usb-performance-and-win32/136698 "2008-05-05T17:36:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Geof\_Nieboer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/838e76/32.png) [@Geof\_Nieboer](https://www.ruby-forum.com/u/Geof_Nieboer)\
**Post date:** [May 5, 2008, 5:36pm UTC](https://www.ruby-forum.com/t/usb-performance-and-win32/136698/1 "2008-05-05T17:36:54Z")

</div>

Good news, got a basic test version of gnuradio compiled in MSVC 2005,  
included a C# front end. More details can be found on the  
[http://www.gnuradio.org/trac/wiki/WindowsNativeInstall](http://www.gnuradio.org/trac/wiki/WindowsNativeInstall) page. Most of  
the  
key C++ code is in there, it will just need more managed interfaces  
built.  
Right now, it can do one thing and one thing only so far, and that’s to  
run  
a clone of the usrp\_benchmark\_usb.py code.

It runs without error, but can’t exceed 8Mbps. On the same machine  
running  
Cygwin, it gets the full 32Mbps. The CPU utilization is similar between  
the  
two versions, under 10%.

The only thing I can see that’s different about how the code is running  
is  
that the MSVC version uses the createfilemapping circular buffer, while  
cygwin (I think?) uses MMAP. Have there been any problems noted with  
createfilemapping?

Geof

---

<div class="post-metadata">

**Author:** ![Geof\_Nieboer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/838e76/32.png) [@Geof\_Nieboer](https://www.ruby-forum.com/u/Geof_Nieboer)\
**Post date:** [May 5, 2008, 6:49pm UTC](https://www.ruby-forum.com/t/usb-performance-and-win32/136698/2 "2008-05-05T18:49:32Z")

</div>

On Tue, May 06, 2008 at 12:35:19AM +0900, Geof Nieboer wrote:

> The only thing I can see that’s different about how the code is running is  
> that the MSVC version uses the createfilemapping circular buffer, while  
> cygwin (I think?) uses MMAP. Have there been any problems noted with  
> createfilemapping?

> Geof

No problems that I know of.

Which FUSB\_TECH are you selecting? It’s normally computed in  
config/usrp\_fusb\_tech.m4  
I suspect you may be getting FUSB\_TECH\_generic. Try FUSB\_TECH\_win32.

Eric

---

<div class="post-metadata">

**Author:** ![Geof\_Nieboer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/838e76/32.png) [@Geof\_Nieboer](https://www.ruby-forum.com/u/Geof_Nieboer)\
**Post date:** [November 9, 2010, 11:38am UTC](https://www.ruby-forum.com/t/usb-performance-and-win32/136698/3 "2010-11-09T11:38:54Z")

</div>

\<?xml version='1.0' encoding='utf-8'?\> 14196913 e3ccc4322224d9840ad19204bcdfc999 carasen12 http://gravatar.com/carasen12 carasen12 http://0.gravatar.com/avatar/e3ccc4322224d9840ad19204bcdfc999 http://0.gravatar.com/avatar/e3ccc4322224d9840ad19204bcdfc999 thumbnail http://1.gravatar.com/userimage/14196913/95d3af28a1b340c9f8c822b76d7761e1 carlos asensio carasen12 blogger.com 09940914286136500856 blogger.com http://www.blogger.com/profile/09940914286136500856 true blogger facebook.com carasen12 carasen12 http://www.facebook.com/carasen12 true facebook flickr.com 47552737@N05 47552737@N05 http://www.flickr.com/people/47552737@N05/ true flickr linkedin.com linkedin.com linkedin.com http://www.linkedin.com/pub/carlos-asensio/12/720/690 true linkedin myspace.com carasen carasen http://www.myspace.com/carasen true myspace twitter.com carasen12 @carasen12 http://twitter.com/carasen12 true twitter pulse.yahoo.com \_X7QX3EQGH3IYOSAMCG7ZMD5F74 pulse.yahoo.com http://pulse.yahoo.com/\_X7QX3EQGH3IYOSAMCG7ZMD5F74 true yahoo youtube.com 12carasen 12carasen http://www.youtube.com/user/12carasen true youtube
