Re: Why is the serial port so slow in Linux?
- From: AZ Nomad <aznomad.2@xxxxxxxxxxxxxxxxxxx>
- Date: Tue, 06 Feb 2007 13:25:43 GMT
On Mon, 05 Feb 2007 17:18:17 -0900, Floyd L. Davidson <floyd@xxxxxxxxxx> wrote:
Richard <rkm@xxxxxxxxxx> wrote:
Floyd L. Davidson wrote:
What kernel are you running this on, and what is the HZ value
set to? If you have HZ set at the traditional 60, and each
read and write causes your process to give up its time slice,
this is going to be very very slow...
The kernel is 2.6.16.27. I am not familiar with the HZ
value, can you tell me what it is and how I can check it?
With a 2.6 kernel it is probably 1000. That means yourThe default is 250hz. 1000hz is a waste of time on a desktop system and
scheduler uses intervals of 1/1000 when dividing up the cpu's
shouldn't be used unless there's a good reason (like fast processing
on the serial port by a user mode process)
.
- Follow-Ups:
- Re: Why is the serial port so slow in Linux?
- From: The Natural Philosopher
- Re: Why is the serial port so slow in Linux?
- References:
- Re: Why is the serial port so slow in Linux?
- From: Richard
- Re: Why is the serial port so slow in Linux?
- From: Floyd L. Davidson
- Re: Why is the serial port so slow in Linux?
- From: Richard
- Re: Why is the serial port so slow in Linux?
- From: Floyd L. Davidson
- Re: Why is the serial port so slow in Linux?
- Prev by Date: Re: Install linux directly through a internet connection?
- Next by Date: Re: Multibooting Fedora and Ubuntu with Windows XP
- Previous by thread: Re: Why is the serial port so slow in Linux?
- Next by thread: Re: Why is the serial port so slow in Linux?
- Index(es):