TIP: Click on subject to list as thread! ANSI
echo: aust_modem
to: Kris Roebuck
from: Simon Byrnand
date: 1996-07-22 23:24:20
subject: Re: CPS Rates

Once apon a time Kris Roebuck said, 'CPS Rates' to Simon Byrnand...

 SB> Sounds like your COMMS program is miscalculating your throughput then
 SB> I'm afraid! Where do you get 38400 bps = 4266 cps from? Since a
 SB> serial port is asyncronous, it actually sends *10* bits per byte, not
 SB> 8, as there is the start and stop bit as well as data....

 KR> My calculations.  I work on the same principle as the modem itself.

The principle of imaginary figures? ;-) With your comm port speed set
to 38400bps 8n1, there is *NO WAY* you can get more than 3840 cps, it
simply is not possible. Period.

My whole point is that if you are getting figures much higher than that,
your comms program is lying to you.

 KR> Maybe I have the priority of NComm set too high?  +19 to make sure I
 KR> get a reliable transfer.

Why on earth do you have it set that high? I run NComm at 0 priority at
38400 bps, and I hardly ever get any errors, even when multitasking
heavily. (This is on an A1200) Setting the priority that high wont help
anyway, because, its the serial.device driver that must respond quickly
to prevent errors, and that is an interrupt handler, not a process....

All you'll succeed in doing is to bog down other programs while receiving
data...and cause a system lockout if Ncomm should happen to get stuck in
a loop. Its also a bad idea to have a user program at a higher priority
than Filesystems and device drivers....

Regards,
Simon

... I have seen the evidence. I want DIFFERENT evidence...
--- FMail/386 0.98a
* Origin: ThunderBaud BBS, Whangarei, NZ, 28k8, 64-9-438-2416 (3:772/1230)
SEEN-BY: 50/99 620/243 623/630 624/300 711/401 409 410 413 430 808 809 899
SEEN-BY: 711/932 934 712/311 407 505 506 515 517 624 628 816 824 828 841 852
SEEN-BY: 713/888 714/906 771/160 772/1 10 20 30 40 90 135 140 190 205 235 380
SEEN-BY: 772/460 1230 774/605 800/1
@PATH: 772/1230 235 1 20 712/624 515 711/808 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.