From owner-freebsd-stable@FreeBSD.ORG Tue May 6 15:06:14 2014 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 27E4CCD9; Tue, 6 May 2014 15:06:14 +0000 (UTC) Received: from torment.daemoninthecloset.org (torment.daemoninthecloset.org [94.242.209.234]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "torment.daemoninthecloset.org", Issuer "daemoninthecloset.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C5880C7B; Tue, 6 May 2014 15:06:13 +0000 (UTC) Received: from sage.daemoninthecloset.org (unknown [70.114.209.60]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "sage.daemoninthecloset.org", Issuer "daemoninthecloset.org" (not verified)) by torment.daemoninthecloset.org (Postfix) with ESMTPS id 6BB7942C25DD; Tue, 6 May 2014 17:00:49 +0200 (CEST) X-Virus-Scanned: amavisd-new at daemoninthecloset.org X-Virus-Scanned: amavisd-new at daemoninthecloset.org Date: Tue, 6 May 2014 09:59:41 -0500 (CDT) From: Bryan Venteicher To: Armin Pirkovitsch Message-ID: <743840238.35506.1399388381208.JavaMail.root@daemoninthecloset.org> In-Reply-To: <5367E40F.1060308@FreeBSD.org> References: <5367E40F.1060308@FreeBSD.org> Subject: Re: high load in KVM when network is used (stable/10) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.10.20] X-Mailer: Zimbra 8.0.2_GA_5569 (ZimbraWebClient - GC33 ([unknown])/8.0.2_GA_5569) Thread-Topic: high load in KVM when network is used (stable/10) Thread-Index: hGUA7XVcd689g1AhhR8kJ1Lae2Q2ww== Cc: stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 May 2014 15:06:14 -0000 ----- Original Message ----- > From: "Armin Pirkovitsch" > To: stable@freebsd.org > Sent: Monday, May 5, 2014 2:18:39 PM > Subject: high load in KVM when network is used (stable/10) > > Hi, > > has anyone ever experienced a problem with FreeBSD 10 (release as well > as stable) in KVMs? (in relation to network activity) > > Currently the load of my server goes up when I just fetch a file. > > systat -vmstat > > 3 users Load 0.57 0.28 0.28 May 5 21:04 > > > > Mem:KB REAL VIRTUAL VN PAGER SWAP > > PAGER > > Tot Share Tot Share Free in out in > > out > > Act 714476 27764 2951164 33696 14130k count > > All 2002012 83188 3211064 209272 pages > > Proc: Interrupts > > r p d s w Csw Trp Sys Int Sof Flt ioflt 4575 total > > 2 102 11k 17 25k 4046 38 cow > > atkbd0 1 > > zfod uhci0 > > 11 > > 28.6%Sys 14.3%Intr 1.4%User 0.0%Nice 55.7%Idle ozfod ata1 > > 15 > > | | | | | | | | | | %ozfod 121 > > | | | | | | | | | | cpu0:timer > > ==============+++++++> daefr 3255 > > virtio_pci > > dtbuf prcfr > > virtio_pci > > Namei Name-cache Dir-cache 350329 desvn totfr 790 > > virtio_pci > > Calls hits % hits % 6556 numvn react 116 > > cpu3:timer > > 6 6 100 4181 frevn pdwak 185 > > cpu2:timer > > 210 pdpgs 108 > > cpu1:timer > > Disks vtbd0 cd0 pass0 intrn > > KB/t 120 0.00 0.00 1382576 wire > > tps 788 0 0 504540 act > > MB/s 92.55 0.00 0.00 291232 inact > > %busy 49 0 0 cache > > 14130808 free > > buf > > it's even worse when I access apache on that server: > > 3 users Load 4.63 1.33 0.66 May 5 21:06 > > > > Mem:KB REAL VIRTUAL VN PAGER SWAP > > PAGER > > Tot Share Tot Share Free in out in > > out > > Act 727760 27764 2938852 33696 14116k count > > All 2015420 83188 3198752 209272 pages > > Proc: Interrupts > > r p d s w Csw Trp Sys Int Sof Flt ioflt 8 total > > 103 14 4 49 2 1 cow > > atkbd0 1 > > zfod uhci0 > > 11 > > 68.8%Sys 31.2%Intr 0.0%User 0.0%Nice 0.0%Idle ozfod ata1 > > 15 > > | | | | | | | | | | %ozfod 1 > > | | | | | | | | | | cpu0:timer > > ==================================++++++++++++++++ daefr 4 > > virtio_pci > > dtbuf prcfr > > virtio_pci > > Namei Name-cache Dir-cache 350329 desvn totfr 1 > > virtio_pci > > Calls hits % hits % 6557 numvn react > > cpu3:timer > > 6 6 100 4136 frevn pdwak 1 > > cpu2:timer > > 136 pdpgs 1 > > cpu1:timer > > Disks vtbd0 cd0 pass0 intrn > > KB/t 128 0.00 0.00 1382808 wire > > tps 1 0 0 506072 act > > MB/s 0.11 0.00 0.00 303460 inact > > %busy 33 0 0 cache > > 14116816 free > > buf > > and you couldn't say that it just hasn't got enough power... > ... > > CPU: Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz (2000.01-MHz K8-class CPU) > > Origin = "GenuineIntel" Id = 0x206d7 Family = 0x6 Model = 0x2d > > Stepping = 7 > > Features=0xf83fbff > > Features2=0x9eb82203 > > AMD Features=0x2c100800 > > AMD Features2=0x1 > > real memory = 17179869184 (16384 MB) > > avail memory = 16597995520 (15829 MB) > > Event timer "LAPIC" quality 400 > > ACPI APIC Table: > > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > > FreeBSD/SMP: 4 package(s) x 1 core(s) > ... > > Has someone any suggestions what I could do to improve the performance > (and lower the load)? > This will sound a bit odd - are you using DHCP on this interface? This might be another instance of http://www.freebsd.org/cgi/query-pr.cgi?pr=185864. If so, can you try with either a static IP or by applying in the workaround patch in the PR? > Cheers > Armin > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >