From owner-freebsd-questions Thu Apr 26 13: 2:35 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.ipsnetwork.net (mail.ipsnetwork.net [209.202.83.5]) by hub.freebsd.org (Postfix) with ESMTP id 45C3D37B422 for ; Thu, 26 Apr 2001 13:02:31 -0700 (PDT) (envelope-from nathan@vidican.com) Received: from 78lb019 (120-83.209-tic.ipsnetwork.net [209.202.83.120] (may be forged)) by mail.ipsnetwork.net (8.11.1/8.11.1) with SMTP id f3QJxxw43920 for ; Thu, 26 Apr 2001 16:00:01 -0400 (EDT) (envelope-from nathan@vidican.com) Message-ID: <003601c0ce8b$1711c370$6700000a@78lb019> From: "Nathan Vidican" To: Subject: extremely slow compiling (perf issues with AMD Athlon perhaps?) Date: Thu, 26 Apr 2001 15:57:13 -0400 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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