Re: [PATCH 0/3] Increase the number of USB to serial devices we cansupport at once

From: Greg KH
Date: Thu Jun 06 2013 - 11:21:36 EST


On Thu, Jun 06, 2013 at 11:01:12AM -0400, Dave Jones wrote:
> On Wed, Jun 05, 2013 at 10:54:26AM -0700, Greg KH wrote:
> > Here are 3 patches that I've tested out on my system with only a small
> > number of devices, but it seems to work, so why not let others try it
> > out...
> >
> > These patches make the USB to serial core have the ability to support up
> > to 3000 devices at once now.
>
> I'm curious how this works. What systems have 3000 usb ports ?
> Or are there some kind of multiplexer devices out there ?
> (If so, I'd like a link, I could use one of those).

You don't need a multiplexer, you can have a bunch of different USB root
hubs in PCI slots, with USB hubs plugged into them, and lots of
multi-port USB devices connected to them. Tobias has such a system with
272 single-port USB to serial devices connected, so it's not impossible
to create.

In thinking about it some more, I'll change that number to 500 for now,
as it's a static array within the tty layer, and then work on making
that dynamic so we don't have any limitations other than the number of
minor numbers for a single major.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/