Date: Thu, 26 Apr 2001 15:57:13 -0400 From: "Nathan Vidican" <nathan@vidican.com> To: <questions@freebsd.org> Subject: extremely slow compiling (perf issues with AMD Athlon perhaps?) Message-ID: <003601c0ce8b$1711c370$6700000a@78lb019>
next in thread | raw e-mail | index | archive | help
Okay, this has been driving me nuts. I have a machine setup as a webserver/email server. I am using 4.2-RELEASE on the below described machine. When I attempt to execute a PERL program, there is a long delay for the compiler; it takes 25-30 seconds to print a simple 'Hello World" string. Once the compiling seems done, the scripts actually run okay, but as most of these scripts are for CGI apps, it really isn't going to do. The machine should be MORE than fast enough to handle these little scripts. The uptime command produces the following: 3:50PM up 14 days, 38 mins, 2 users, load averages: 0.00, 0.00, 0.00 Stating that the load isn't very high at all. If I watch things with the systat command, PERL spikes right up to start a script takes like 98% of the resources (same is true when I use top to watch what's going on), then settles to what would be 'normal' once the app is compiled. While running an app written in PERL, the speed seems fine. I've been trying to compile a new kernel now for about an hour, and it seems that compiling C takes a long time too. I have compiled the new kernel with maxusers set to 256, and the CPU type set to i686, I don't know if it will help or not. The system specs are as follows: 950mhz AMD Athlon CPU (slot not Socket) 128megs PC133 RAM (I know, clocks to 100 in this system) Intel EtherExpress Pro 100 PCI Promise ATA100 PCI Controller Maxtor 7200RPM 60Gig ATA100 Disk, (4Gig root, 400meg swap, 55Gig /mail) System also mounts all of the document storage (where the scripts are located) over NFS, (/server). I have tested running scripts from local filesystems to prove that NFS isn't the bottleneck. If anyone has any ideas as to why the system seems to be doing so poorly, please let me know. I had origionally installed the system with a snapshot of the 4.2-STABLE branch, then most recently (about 15days ago or so), went to 4.2-RELEASE because of the speed problems. The switch in releases made no change to the problem; I am hoping the new kernel will fix things, but figured I'd ask around anyhow. Nathan Vidican Nathan@Vidican.com http://Nathan.Vidican.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003601c0ce8b$1711c370$6700000a>