[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-misc
Subject:    Re: Help troubleshooting performance problem
From:       Kenneth R Westerback <kwesterback () rogers ! com>
Date:       2013-11-30 21:55:12
Message-ID: 20131130215512.GD27458 () mac ! westerback ! ca
[Download RAW message or body]

On Sat, Nov 30, 2013 at 04:02:58PM -0500, John Hynes wrote:
> I'm having some trouble figuring out what is causing a systemic performance
> issue.  By "systemic" I mean that running even seemingly trivial things
> (i.e. 'ls' on a directory with only a few files in it) is accompanied by a
> substantial delay before any response, say, of 15-30 seconds.  Not *every*
> single time, but pretty frequently.  Looking at top, load average is higher
> than expected on a largely idle web & smtp server, usually between .7 and
> 1.6.  This is a dual-core opteron box (Sun Fire X2100) with 8GB RAM. (dmesg
> below).
> 
> Sorting top by CPU utilization shows that the CPUs are mostly idle.
> vmstat/iostat isn't making anything leap out at me as getting stuck in
> paging or waiting for I/O.  The disc is a softraid RAID1 volume, bioctl
> shows that it's OK.  This does not appear to be network bandwidth-related,
> at least, I can get the expected throughput testing with iperf.
> 
> Posting something on the forum software that it's running can take 3-4
> minutes to complete, and it's writing the posted info to a mysql database.
> Neither httpd nor mysqld seem to wind up much load while this is occurring.
> 
> So, what should I be looking at to figure out where things are getting
> stalled up?
> 
> Thanks for any ideas,
> 
> -John
> 
> dmesg:
> 
> OpenBSD 5.3 (GENERIC.MP) #0: Fri Sep 13 04:11:52 EDT 2013
>     john@hytronix-gw1.hytronix.com:/usr/src/sys/arch/amd64/compile/
> GENERIC.MP

Try 5.4 or -current.

Issues with non-home-compiled kernels are more interesting.

.... Ken

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic