Skip to contentSkip to conversation

CFS scheduler, -v18

PATCH Thomas Dickey 1 participant 2 messages Jul 5, 2007 10 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#10 lore raw
Quoted 2 lines · Ingo Molnar

yeah, i use gnome-terminal exclusively. But testers looking for CFS regressions do run every shell on the planet :-)

...and people running older kernels get different results (no surprise)

fwiw, I ran 'top' on 5 terminals with xterm-spam running concurrently on 2.6.15 (rxvt, pterm, xterm, konsole and gnome-terminal).

For that case, gnome-terminal was definitely the slowest, and used the most CPU time (more than a factor of three slower than xterm). konsole was about 2.5, pterm was about the same as xterm, and rxvt about half the CPU (ymmv).

Quoted 2 lines

gnome-terminal is also faster all around (at least on my box):

Signature · 3 lines
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
#11 lore raw
In reply to a message not in the archive
Quoted 4 lines · Keith Packard
Quoted 2 lines · Ingo Molnar

which allows xterm-spam (attached) to easily flood the xterm (without any scrolling that would act as a throttle) and the xterm to flood Xorg.

...deleting the offhand remarks

...here's a little content:

Quoted 2 lines

And, as the kernel will not buffer more than 4095 bytes from a pty, there isn't any way it will ever read 4096 bytes.

The sched_yield() call was added to address problems in an earlier 2.6.x kernel (and the report then stated that it could read more than 4096 because it would have to perform several reads to keep up with a burst of output).

...deleting the other offhand remarks

Signature · 3 lines
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net