[vorbis-dev] Re: [fwd] CVS: ogg123 rocks! vcut no so much so... (from: wayfarer42@postmaster.co.uk)

Nicolas Pitre nico at cam.org
Fri Nov 15 16:47:03 PST 2002



On 15 Nov 2002, Greg Stark wrote:

> Jeffrey Bridge <jeffrey+vorbisdev at firehead.org> writes:
> 
> > On Thu, 2002-08-01 at 10:55, Adrien Beau wrote:
> > > Btw, this is in such areas that you see that proprietary
> > > Unix systems still have an edge. IIRC, the shell on AIX had
> > > no problem dealing with a 28000 arguments command-line in
> > > an appropriate amount of time, while bash on Linux went to
> > > its knees and took an order of magnitude more time to do the
> > > work.
> > 
> > I believe the kernel (or perhaps bash) has some sort of limitation on
> > how large the size of all arguments/environment variables can be. I've
> > seen some ./configure programs check how many bytes can be passed on the
> > arg list, and it's something like 70 KB. Now, I don't know if this is
> > necessary for some reason or not, but it's there. IMO, it's better not
> > to be passing half-a-meg of data around on an argument list anyway :-o
> 
> on linux:
> 
> #define ARG_MAX       131072	/* # bytes of args + environ for exec() */
> 
> That strikes me as low, I seem to recall it was 4M on Solaris at some point.

If you want more you can pipe your argument list through xargs.

<p>Nicolas

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis-dev mailing list