From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 31768 invoked from network); 16 Jan 2000 02:41:59 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 16 Jan 2000 02:41:59 -0000 Received: from alphalinux.org (alphalinux.org [63.236.138.10]) by mail.redhat.com (8.8.7/8.8.7) with SMTP id VAA17873 for ; Sat, 15 Jan 2000 21:41:58 -0500 Received: (qmail 29396 invoked by uid 509); 16 Jan 2000 02:41:55 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 16 Jan 2000 02:41:55 -0000 Date: Sat, 15 Jan 2000 18:41:55 -0800 (PST) From: "Frasnelli, Dan" To: axp-list@redhat.com Subject: /sbin/getty voodoo Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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