public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
* serial performance
@ 2010-03-12 15:57 Trifle Menot
  2010-03-13  5:12 ` Trifle Menot
  0 siblings, 1 reply; 4+ messages in thread
From: Trifle Menot @ 2010-03-12 15:57 UTC (permalink / raw)
  To: linux-msdos


If I start dosemu -s with this:

> $_ports = "fast range 0x3F8,0x3FF"
> $_irqpassing = "4"

A speed of 57600 looks fast, like it should be.  But if I omit the
direct hardware access, and try this:

> $_com1 = "/dev/ttyS0 irq 4"

57600 still works, but looks much slower on the remote side of a null
modem cable.  Seems like I read where the code traps serial port writes
and buffers data to /dev/ttyS0.  Is the trapping causing the slowdown?
Is there a cure?

I don't want to use direct hardware access.  I tested it that way, only
to see how things work.

I'm using the latest dosemu svn code.  I first tried a 2.6.32 kernel on
arch linux, but got a kernel panic, then tried a suse 2.6.11 kernel, and
got these results.  Both were i386 only, never x86_64.



-- 
Web mail, POP3, and SMTP
http://www.beewyz.com/freeaccounts.php
 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-03-13 13:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-12 15:57 serial performance Trifle Menot
2010-03-13  5:12 ` Trifle Menot
2010-03-13  7:39   ` Paul Crawford
2010-03-13 13:53     ` Trifle Menot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox