On Mon, 4 Sep 2006, Jan Verbeke wrote:

> Hi,
> 
> What is the memory usage (heap and stack) for the Linux USB stack?
> (You can take the latest available one as a reference. It's just to have an 
> idea)

As far as I am aware, nobody knows.  It varies, not just according to the 
kernel version you use but also according to which modules you have 
loaded.

You can find out easily enough for yourself by building kernels with and 
without USB support.  Just compare the memory usage when you boot with 
each kernel.

> How many devices can be handled by the stack? 

Each controller can manage up to 126 devices.  There can be up to 64 
controllers.

> How much memory is needed per extra device? 

Again, it varies.  Not just by kernel version but also according to the 
lengths of the device's descriptors, which the kernel stores.  Plus 
whatever overhead is needed by the individual device driver, which will 
vary according to the device's type.

> Can we have the footprint in kind of a formula: X + Y*n (wherej n=number of 
> devices and X,Y the memory footprint). 

I don't think so.

Alan Stern


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to