You are correct, I do understand IPVSADM / IPCHAINS are the userspace tools
to set the Kernel Parameters.
I also understand that the "system," value is supposed to represent Kernel
CPU usage. Yet for both (LVS_NAT) MASQing and Load Balancing the CPU doesn't
budge an inch... (-;
I tried this ikd, but ick...
==================================
Ok here's an interesting one for you guys to think about.
I simulate 1,000 concurrent connections, 100,000 requests. In LVS_NAT top
doesn't change.
TOP Output:
CPU states: 0.1% user, 0.1% system, 0.0% nice, 99.6% idle
I run http://users.ev1.net/~redelm/ CPUBURN, which essentailly takes up 100%
CPU.
TOP Output:
CPU states: 99.6% user, 0.3% system, 0.0% nice, 0.0% idle
29971 root 17 0 12 12 4 R 99.6 0.0 0:23 burnP6
I run this guy, the proccess is listed in TOP as taking 99% CPU. I then
connect 1,000 concurrent connections, and 100,000 requests:
TOP Output:
CPU states: 65.4% user, 34.5% system, 0.0% nice, 0.0% idle
29971 root 19 0 12 12 4 R 99.1 0.0 1:13 burnP6
Hmm, heh
Mike
----- Original Message -----
From: "Joseph Mack" <mack.joseph@xxxxxxx>
To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Monday, September 10, 2001 11:29 AM
Subject: Re: CPU Usage
> > Michael McConnell wrote:
> >
> > Top doesn't display CPU usage of IPChains or IPVSADM
> > VMStat doesn't display CPU usage of IPChains or IPVSADM
>
> ipchains and ipvsadm are user tools that configure the kernel.
> After you've run them, they go away and the kernel does it's new
> thing (which you'll see in "system").
>
> Unfortunately for some reason
> that no-one has explained to me "top/system" doesn't see everything.
> I can have a VS-DR director which is running 50Mbps on a 100Mpbs link
> and the load average doesn't get above 0.03 and system to be
> negligable. I would expect it to be higher.
>
> Joe
>
> --
> Joseph Mack PhD, Senior Systems Engineer, Lockheed Martin
> contractor to the National Environmental Supercomputer Center,
> mailto:mack.joseph@xxxxxxx ph# 919-541-0007, RTP, NC, USA
>
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://www.in-addr.de/mailman/listinfo/lvs-users
>
|