Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* /sbin/getty voodoo
@ 2000-01-16  2:41 Frasnelli, Dan
  0 siblings, 0 replies; only message in thread
From: Frasnelli, Dan @ 2000-01-16  2:41 UTC (permalink / raw)
  To: axp-list

Stumbled across a little kludge from years ago that I'd
forgotten about until this evening.

Switched from mingetty to getty earlier today, and pulled up
/etc/gettydefs to tweak the settings.  Noticed that the
default line speed for the virtual consoles (type VC) was
still set at 9600.  Smirking, I changed it to 230400
and restarted init.  Its not like that should change anything.
Logged back into that terminal, and text seemed to pop up much
quicker.. something I attributed to the strong coffee.

I have a large assortment of aliases and shortcuts I pull along to
whichever environment I'm using.  One I use frequently under bourne
lists subdirectories of the directory you're in (usually piped to
more/less):

alias lsd="ls -la|grep dr.x|awk -F'     ' '{print $2}'|sed s/^.*\ //g|\
sort -rn"
By all means, feel free to copy if you find it useful.

The smirk got wiped off my face when calling the lsd alias while
playing an mp3.  Without fail, "lsd" in one directory with 95
subdirectories causes the audio to skip while sorting the results.  Not
this time.  The results jumped to the screen as soon as I executed the
command.  Other noticable speed increases were in lynx and displaying
man pages.  I'd determined a baseline load of 0.05 for trivial tasks
(vim, mpg123, lynx) at the console with 4 active ttys - it has dropped
to 0.00/0.01. 
A few cycles are wasted 'slowing down' the console to whichever speed
it was spawned at.  The closer you sync the framebuffer and
processor, the more responsive your system feels - simple stuff. 

Looks like the BSD guys already picked up on this "common sense"
kludge - from /etc/gettytab, FreeBSD:
P|Pc|Pc console:\
        :ht:np:sp#115200:

If you also use the console, I hope you find this tip new and useful.
At the very least.. nethack/angband/etc. will appear more responsive ;-)
--
Dan Frasnelli
Security analyst



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-01-16  2:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-01-16  2:41 /sbin/getty voodoo Frasnelli, Dan

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