On Thu, 6 Nov 2003 sowmini.varadhan@sun.com wrote:
> well, OPEN_MAX is usually 256.
>
> > And on embedded devices, its easier (and cheaper?) to add memory. Just
> > my opinion.
>
> yes, but zebra is also used on non-embedded devices like workstations.
a workstation is unlikely to have more than 2 interfaces). So I'd say
"open a socket per interface" doesnt hurt workstations.
At the other end of the scale, machines with literally /hundreds/ of
interfaces by means of 802.1q+switches, its better to tweak the
machine to have enough fd's and RAM /once/ than pay run-time costs.
> --Sowmini
regards,
--
Paul Jakma paul@clubi.ie paul@jakma.org Key ID: 64A2FF6A
warning: do not ever send email to spam@dishone.st
Fortune:
Money isn't everything -- but it's a long way ahead of what comes next.
-- Sir Edmond Stockdale
> well, OPEN_MAX is usually 256.
>
> > And on embedded devices, its easier (and cheaper?) to add memory. Just
> > my opinion.
>
> yes, but zebra is also used on non-embedded devices like workstations.
a workstation is unlikely to have more than 2 interfaces). So I'd say
"open a socket per interface" doesnt hurt workstations.
At the other end of the scale, machines with literally /hundreds/ of
interfaces by means of 802.1q+switches, its better to tweak the
machine to have enough fd's and RAM /once/ than pay run-time costs.
> --Sowmini
regards,
--
Paul Jakma paul@clubi.ie paul@jakma.org Key ID: 64A2FF6A
warning: do not ever send email to spam@dishone.st
Fortune:
Money isn't everything -- but it's a long way ahead of what comes next.
-- Sir Edmond Stockdale