Re: Compiling problem on AIX 4.2.1 with gcc

From: Chris Wedgwood <chris@dont-contact.us>
Date: Wed, 21 Apr 1999 11:45:31 +1200

On Wed, Apr 21, 1999 at 10:59:35AM +1200, Chris Wedgwood wrote:

> I seem to have problems getting to make sense for > 65K FDs, but
> thats almost certainly my end....

This is a lie... I fixed this and verified it works quickly and for
the most part harmlessly to 600K FDs (slight overshoot of two here,
not sure why, I think it because the starting point was poorly
chosen).

# ./a.out
trying 500000, j=250000
trying 750000, j=125000
trying 625000, j=62500
trying 562500, j=31250
trying 593750, j=15625
trying 609375, j=7812
trying 601563, j=3906
trying 597657, j=1953
trying 599610, j=976
trying 600586, j=488
trying 600098, j=244
trying 599854, j=122
trying 599976, j=61
trying 600037, j=30
trying 600007, j=15
trying 599992, j=7
trying 599999, j=3
trying 600002, j=1
trying 600001, j=0
maxfd = 600002

-cw
Received on Tue Jul 29 2003 - 13:15:57 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:12:05 MST