Re: KVM slow LAMP guest

2015-08-25 Thread Wanpeng Li
On 8/26/15 6:41 AM, Hansa wrote: On 26-8-2015 0:33, Wanpeng Li wrote: On the VM server I issued the command below every eleven minutes: date >> curltest-file; _ top -b -n 1 | sed -n '7,12p' >> curltest-file; _ curl -o /dev/null -s -w"time_total: %{time_total}\\n" https://my.domain.com | perl -

Re: KVM slow LAMP guest

2015-08-25 Thread Hansa
On 26-8-2015 0:33, Wanpeng Li wrote: On the VM server I issued the command below every eleven minutes: date >> curltest-file; _ top -b -n 1 | sed -n '7,12p' >> curltest-file; _ curl -o /dev/null -s -w"time_total: %{time_total}\\n" https://my.domain.com | perl -pe 'BEGIN {use POSIX;} print strf

Re: KVM slow LAMP guest

2015-08-25 Thread Wanpeng Li
On 8/25/15 11:42 PM, Hansa wrote: On 24-8-2015 1:26, Wanpeng Li wrote: On 8/24/15 3:18 AM, Hansa wrote: On 16-7-2015 13:27, Paolo Bonzini wrote: On 15/07/2015 22:02, "C. Bröcker" wrote: What OS is this? Is it RHEL/CentOS? If so, halt_poll_ns will be in 6.7 which will be out in a few days/we

Re: KVM slow LAMP guest

2015-08-25 Thread Hansa
On 24-8-2015 1:26, Wanpeng Li wrote: On 8/24/15 3:18 AM, Hansa wrote: On 16-7-2015 13:27, Paolo Bonzini wrote: On 15/07/2015 22:02, "C. Bröcker" wrote: What OS is this? Is it RHEL/CentOS? If so, halt_poll_ns will be in 6.7 which will be out in a few days/weeks. Paolo OK. As said CentOS 6.6.

Re: KVM slow LAMP guest

2015-08-24 Thread Hansa
On 24-8-2015 1:26, Wanpeng Li wrote: On 8/24/15 3:18 AM, Hansa wrote: On 16-7-2015 13:27, Paolo Bonzini wrote: On 15/07/2015 22:02, "C. Bröcker" wrote: What OS is this? Is it RHEL/CentOS? If so, halt_poll_ns will be in 6.7 which will be out in a few days/weeks. Paolo OK. As said CentOS 6.6.

Re: KVM slow LAMP guest

2015-08-23 Thread Wanpeng Li
On 8/24/15 3:18 AM, Hansa wrote: On 16-7-2015 13:27, Paolo Bonzini wrote: On 15/07/2015 22:02, "C. Bröcker" wrote: What OS is this? Is it RHEL/CentOS? If so, halt_poll_ns will be in 6.7 which will be out in a few days/weeks. Paolo OK. As said CentOS 6.6. But where do I put this parameter?

Re: KVM slow LAMP guest

2015-08-23 Thread Hansa
On 16-7-2015 13:27, Paolo Bonzini wrote: On 15/07/2015 22:02, "C. Bröcker" wrote: What OS is this? Is it RHEL/CentOS? If so, halt_poll_ns will be in 6.7 which will be out in a few days/weeks. Paolo OK. As said CentOS 6.6. But where do I put this parameter? You can add "kvm.halt_poll_ns=5000

Re: KVM slow LAMP guest

2015-07-16 Thread Hansa
On 16-7-2015 13:27, Paolo Bonzini wrote: On 15/07/2015 22:02, "Hansa" wrote: What OS is this? Is it RHEL/CentOS? If so, halt_poll_ns will be in 6.7 which will be out in a few days/weeks. Paolo OK. As said CentOS 6.6. But where do I put this parameter? You can add "kvm.halt_poll_ns=50" t

Re: KVM slow LAMP guest

2015-07-16 Thread Paolo Bonzini
On 15/07/2015 22:02, "C. Bröcker" wrote: >> >> What OS is this? Is it RHEL/CentOS? If so, halt_poll_ns will be in 6.7 >> which will be out in a few days/weeks. >> >> Paolo > OK. As said CentOS 6.6. > But where do I put this parameter? You can add "kvm.halt_poll_ns=50" to the kernel command

Re: KVM slow LAMP guest

2015-07-15 Thread C. Bröcker
On 14-7-2015 23:16, Paolo Bonzini wrote: On 14/07/2015 21:54, "Hansa" wrote: [1] https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f7819512996361280b86259222456fcf15aad926 Sorry David. That is not an option. It's a production server on 2.6 kernel. 4.0 kernel is not in

Re: KVM slow LAMP guest

2015-07-15 Thread Hansa
On 14-7-2015 23:16, Paolo Bonzini wrote: On 14/07/2015 21:54, "Hansa" wrote: [1] https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f7819512996361280b86259222456fcf15aad926 Sorry David. That is not an option. It's a production server on 2.6 kernel. 4.0 kernel is not in

Re: KVM slow LAMP guest

2015-07-14 Thread C. Bröcker
On 14-7-2015 19:16, David Matlack wrote: (adding back the kvm mailing list) On Tue, Jul 14, 2015 at 1:12 AM, "C. Bröcker" wrote: On 14-7-2015 10:04, Hansa wrote: On 13-7-2015 20:57, David Matlack wrote: On Thu, Jun 18, 2015 at 10:26 AM, David Matlack wrote: On Thu, Jun 18, 2015 at 1:25 AM,

Re: KVM slow LAMP guest

2015-07-14 Thread David Matlack
(adding back the kvm mailing list) On Tue, Jul 14, 2015 at 1:12 AM, "C. Bröcker" wrote: > On 14-7-2015 10:04, Hansa wrote: >> >> On 13-7-2015 20:57, David Matlack wrote: >>> >>> On Thu, Jun 18, 2015 at 10:26 AM, David Matlack >>> wrote: On Thu, Jun 18, 2015 at 1:25 AM, Hansa wrote: >>

Re: KVM slow LAMP guest

2015-06-18 Thread David Matlack
On Thu, Jun 18, 2015 at 1:25 AM, Hansa wrote: > Hi, > > I have a LAMP server as guest in KVM. Whenever the server is idle for some > time it takes about 30 seconds to load a Wordpress site. > If the server is not idle the site shows up in max 5 seconds. I've already > turned of power management in

KVM slow LAMP guest

2015-06-18 Thread Hansa
Hi, I have a LAMP server as guest in KVM. Whenever the server is idle for some time it takes about 30 seconds to load a Wordpress site. If the server is not idle the site shows up in max 5 seconds. I've already turned of power management in the guest by passing GRUB_CMDLINE_LINUX_DEFAULT="