Re: emacs *very slow* to launch
On Tue, 16 Jun 1998, Eric House wrote: I'm running 1.3.1 in terminal mode. I launch emacs by typing 'emacs' at the cmd line, and it takes *at least* five minutes to come up. Once up, it works just fine. And other apps don't seem to have this problem: they launch as quickly as ever. This is the behavior I've come to expect from emacs. Eighteen Megs And Constantly Swapping. It's a huge app! What sort of hardware do you have? What version of Emacs? I wouldn't run it on anything sub-pentium, myself. Photons have neither morals nor visas -Dave Farber -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: emacs *very slow* to launch
This is the behavior I've come to expect from emacs. Eighteen Megs And Constantly Swapping. It's a huge app! What sort of hardware do you have? What version of Emacs? I wouldn't run it on anything sub-pentium, myself. I run Emacs on 586/120 an it seems very snappy... Mabe try fireing up dselect and reinsalling it, or updateing it if there is a later verison. -Matt- [EMAIL PROTECTED] http://www.midcoast.com/~kopishke http://169.244.147.29 MSAD#40 Home Page http://169.244.147.29/ss/MVHS Seed Savers Project http://169.244.147.29/MVCUG/Medomak Valley Computer User Group *If it says Windows 95 or better install Linux!* Apple Forever! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: emacs *very slow* to launch
On Tue, 16 Jun 1998 16:46:54 -0700 (PDT) Nick Moffitt [EMAIL PROTECTED] | On Tue, 16 Jun 1998, Eric House wrote: | | I'm running 1.3.1 in terminal mode. I launch emacs by typing 'emacs' | at the cmd line, and it takes *at least* five minutes to come up. | Once up, it works just fine. And other apps don't seem to have this | problem: they launch as quickly as ever. | | This is the behavior I've come to expect from emacs. Eighteen | Megs And Constantly Swapping. Of course you use whatever you have resources for. I have a PPro 200 with 64MB of RAM and XEmacs pops up in about 10 seconds. | It's a huge app! You say that like it's a bad thing? :) | What sort of hardware do you have? What version of Emacs? I | wouldn't run it on anything sub-pentium, myself. I suspect this isn't a problem of application size. He'd have to be using a 386 with 4MB of memory for emacs to take 5 minutes to load. More likely it's a problem with emacs trying to get your hostname using gethostbyname() or some such. Nick, make sure that your hostname is defined and make sure there's an entry in /etc/hosts for that name. If this is a standalone system, or you only connect to the network via dialup make sure that you have an entry in /etc/hosts like: 127.0.0.1 localhost hostname where hostname is whatever shows up when you do a hostname from the command line. Also, make sure your /etc/resolv.conf has something like: hostresorder local bind Unfortunately I can't recall if that's the correct syntax for Linux or not, or whether there is something equivalent to this in Linux (the line above is from an SGI running IRIX so it's probably different for Linux). Try a man 5 resolver and see what it says about using the local host before trying to query the DNS server. If it is a resource issue and you're trying to run emacs on a very resource hungry system it should be obvious. If the disk starts thrashing, and continues to do so for the entire time your system is loading Emacs, then that means that it's going to swap for resources and there's nothing you can do to speed it up. Good Luck! Gary -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: emacs *very slow* to launch
On Tue, 16 Jun 1998, Nick Moffitt wrote: On Tue, 16 Jun 1998, Eric House wrote: I'm running 1.3.1 in terminal mode. I launch emacs by typing 'emacs' at the cmd line, and it takes *at least* five minutes to come up. Once up, it works just fine. And other apps don't seem to have this problem: they launch as quickly as ever. This is the behavior I've come to expect from emacs. Eighteen Megs And Constantly Swapping. It's a huge app! What sort of hardware do you have? What version of Emacs? I wouldn't run it on anything sub-pentium, myself. Running hamm on a 486 dx4 100 with 16M memory (49.87 Bogomips), typing emacs from a terminal, I get a delay of 9.5 seconds. That's fine for me. Netscape in X is another matter though. Would setting the mode to store the image in swap speed stuff up? Matthew -- Elen sila lumenn' omentielvo Steward-elect of the Cambridge Tolkien Society Selwyn College Computer Support http://www.geocities.com/Area51/Chamber/8841/ http://www.cam.ac.uk/CambUniv/Societies/tolkien/ http://pick.sel.cam.ac.uk/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: emacs *very slow* to launch
On 16 Jun, Eric House wrote: I'm running 1.3.1 in terminal mode. I launch emacs by typing 'emacs' at the cmd line, and it takes *at least* five minutes to come up. Once up, it works just fine. And other apps don't seem to have this problem: they launch as quickly as ever. Once emacs is running, if I go to another virtual console and launch another copy, it takes just as long to come up. This is a recent phenomenon. Until a few weeks ago everything was fine, ie launch took a few seconds the first time and was nearly instantaneous for additional copies. I can't think of anything I've done to change things, but of course I must have done *something*. I have no idea how to track down what's going on. 'top' doesn't suggest that emacs is burning many cycles with whatever it's doing. There's no .emacs file. Behavior's the same, though, if I use -q or --no-site-file to prevent reading in the startup files. I don't think this is an emacs config problem. The same thing seems to happen under X Thanks for any help you can give! I have seen this behavior before when emacs can't resolve the hostname of the machine. Try using 'strace -o /tmp/emacs.strace emacs' and wait for emacs to come up. Quit emacs and take a look at the huge /tmp/emacs.strace file. Look for some failed hostname lookups. -- Brian -- Mechanical Engineering [EMAIL PROTECTED] Purdue University http://www.ecn.purdue.edu/~servis -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: emacs *very slow* to launch
On Tue, 16 Jun 1998, Nick Moffitt wrote: On Tue, 16 Jun 1998, Eric House wrote: [...] I launch emacs by typing 'emacs' at the cmd line, and it takes *at least* five minutes to come up. Once up, it works just fine. And other apps don't seem to have this problem: they launch as quickly as ever. This is the behavior I've come to expect from emacs. Eighteen Megs And Constantly Swapping. It's a huge app! What sort of hardware do you have? What version of Emacs? I wouldn't run it on anything sub-pentium, myself. Nick, At risk of starting/continuing an editor war thread, I point out that Emacs is indeed very large, but a 5 minute load time suggests you have a problem. I run Emacs all the time on a 486-33 ISA machine with 16 Megs of RAM and an ide hd. I just timed Emacs loading in less than 9 seconds on that system, a far cry from 5 minutes. A heavily loaded disk i/o subsystem will contribute to slow loading of any large program, not just emacs. What about gcc? Does it load slowly under similar circumstances? (It is hard to tell the difference between runs slowly and loads slowly for a non-interactive program. All suggestions appreciated.) I hope someone will help further. --David --- LINUX: the FREE 32 bit OS for [3456]86 PC's available NOW! David B Teague | Ask me how user interface copyrights software [EMAIL PROTECTED] | patents make programing a dangerous business. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: emacs *very slow* to launch
On Tue, 16 Jun 1998, Nick Moffitt wrote: On Tue, 16 Jun 1998, I wrote: I'm running 1.3.1 in terminal mode. I launch emacs by typing 'emacs' at the cmd line, and it takes *at least* five minutes to come up. Once up, it works just fine. And other apps don't seem to have this problem: they launch as quickly as ever. This is the behavior I've come to expect from emacs. Eighteen Megs And Constantly Swapping. It's a huge app! What sort of hardware do you have? What version of Emacs? I wouldn't run it on anything sub-pentium, myself. It's a pentium-class machine, 166mhz most likely. It ran emacs fine just two weeks ago. And once the thing's launched it's still fine. But the now launch takes 5 or 10 minutes where it used to take five seconds. --Eric House +-+ |from the desktop of: Eric House, [EMAIL PROTECTED] | |The instructions said 'Win95 or better' -- so I installed Linux| +-+ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: emacs *very slow* to launch
On 16 Jun 1998, Gary L. Hennigan wrote: I suspect this isn't a problem of application size. He'd have to be using a 386 with 4MB of memory for emacs to take 5 minutes to load. More likely it's a problem with emacs trying to get your hostname using gethostbyname() or some such. [Eric], make sure that your hostname is defined and make sure there's an entry in /etc/hosts for that name. If this is a standalone system, or you only connect to the network via dialup make sure that you have an entry in /etc/hosts like: 127.0.0.1 localhost hostname This was the problem. I'd removed the entry for my machine from /etc/hosts (because the machine is now stand-alone, as it doesn't get a static IP address on the office network and I haven't figure out DHCP yet...) I put the entry back and now emacs comes up in the traditional 5+ seconds. Not bad for something that big! :-) Thanks for the quick and accurate diagnosis! --Eric House +-+ |from the desktop of: Eric House, [EMAIL PROTECTED] | |The instructions said 'Win95 or better' -- so I installed Linux| +-+ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: emacs *very slow* to launch
Netscape in X is another matter though. Would setting the mode to store the image in swap speed stuff up? Netscape maintains its large cache in ~/.netscape/cache, which it checks somehow on startup. This, I believe, contributes more to its slow launch than its bulk does. -- Pete Harlan [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]