Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Mar 1998 20:14:52 -0800
From:      Mike Smith <mike@smith.net.au>
To:        Jay Nelson <jdn@acp.qiv.com>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: Recommendation needed for real time monitor 
Message-ID:  <199803030414.UAA14993@dingo.cdrom.com>
In-Reply-To: Your message of "Mon, 02 Mar 1998 21:48:26 CST." <Pine.BSF.3.96.980302212323.1498A-100000@acp.qiv.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Don't know if this is the right list for this, so point me in the right
> direction it I'm wrong.
> 
> Given the available hardware supported by FreeBSD, what are your
> hardware recommendations for a machine capable of handling 31
> simultaneous serial connections at 19200? This is a real-time machine
> monitoring situation, not dial up users. Data is bursty and
> non-compressed. I need to insure worst case with no buffer overruns.

We need some more information to give you a really good answer;

 - maximum burst size
 - net data rate
 - peak data rate over a small period (eg. minimum/maximum interburst
   period).

If the bursts are small (< 16 bytes) and the interburst period 
moderately long (so the net data rate is low), then multiport cards 
based on 16x50 UARTs will do the job.  You might want to look at 16650's
instead to give you more headroom.

For larger bursts, you will want to look at "smart" cards with lots of
buffering, eg. some of the supported Digiboard cards have 512 bytes or
more per port.  Also some of the Stallion and Specialix cards are worth
checking out.

21 ports at 19200 is only 60k/sec, or ~120k port accesses/second for 
16x50 UARTs (hit me if I screw up here Bruce 8).  If you're streaming 
you get one interrupt every 14 bytes (approx), or a maximum of 4251 
interrupts per second.

Depending on the line discipline involved, most of your overhead is 
likely to be in the tty subsystem.  More CPU will help there, but 
without actually measuring it I can't give you really useful numbers.  
(I would suggest starting with something like a P166 and experimenting.)

It also depends on what else the machine will be doing.  Busmastering 
peripherals will help (disk, network adapter, etc.)

-- 
\\  Sometimes you're ahead,       \\  Mike Smith
\\  sometimes you're behind.      \\  mike@smith.net.au
\\  The race is long, and in the  \\  msmith@freebsd.org
\\  end it's only with yourself.  \\  msmith@cdrom.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803030414.UAA14993>