Re: KVM host上两个qemu-kvm进程占用内存太高

2014-06-18 文章 Yujiang Pang
这个意思就是调低两个系统VM的配置吧。会不会有问题?


On 17 June 2014 18:41, Wei ZHOU  wrote:

> 可以改改service_offering表里consoleproxy和secondarystoragevm的配置。
> 或者UI新建system offering,然后global
> configration里面修改secstorage.service.offering和consoleproxy.service.offering
>
>
> 2014-06-17 11:19 GMT+02:00 Yujiang Pang :
>
> > CPVM 和 SSVM
> >
> > 刚刚查了下应该是在这个host上创建这两个VM了。这个host基本就不能再用了,对于小鸟PC来说。
> >
> > 谢谢指点。
> >
> > BR John Pang
> >
> >
> > On 17 June 2014 17:14, Wei ZHOU  wrote:
> >
> > > 你看看ps -ef|grep qemu-kvm
> > >
> > >
> > > 2014-06-17 10:59 GMT+02:00 Yujiang Pang :
> > >
> > > > Hi all,
> > > >
> > > > 我发现一台装好KVM的host比较慢,有两个qemu-kvm进程占用内存太高,如下:
> > > >
> > > > 这种情况正常吗?
> > > >
> > > > {{
> > > >
> > > > top - 16:55:53 up 6 days, 23:25,  3 users,  load average: 0.00, 0.00,
> > > 0.00
> > > > Tasks: 196 total,   1 running, 195 sleeping,   0 stopped,   0 zombie
> > > > Cpu(s):  0.8%us,  0.5%sy,  0.0%ni, 98.2%id,  0.5%wa,  0.0%hi,
>  0.0%si,
> > > >  0.0%st
> > > > Mem:   1920612k total,  1824932k used,95680k free,   102468k
> > buffers
> > > > Swap:  4128760k total,   520924k used,  3607836k free,   314224k
> cached
> > > >
> > > >   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
> > > > 13138 root  20   0 1819m 416m 4872 S  1.0 22.2  29:09.82 qemu-kvm
> > > > 12994 root  20   0 2326m 409m 4872 S  0.3 21.9  22:08.52 qemu-kvm
> > > > 12760 root  20   0 2189m 107m 9572 S  1.0  5.7   5:27.47 jsvc
> > > >  1861 root  20   0  202m  31m 6392 S  0.0  1.7   0:18.66 Xorg
> > > >  2096 john  20   0  474m  15m 7988 S  0.0  0.8   0:00.42 nautilus
> > > >  2162 john  20   0  451m  10m 7920 S  0.0  0.6   0:08.35
> > clock-applet
> > > >  2073 john  20   0  496m  10m 6248 S  0.0  0.6   0:22.92
> > > > gnome-settings-
> > > >  2092 john  20   0  321m  10m 7592 S  0.0  0.6   0:16.97
> > gnome-panel
> > > >  2177 john  20   0  288m  10m 7076 S  0.0  0.5   0:00.10
> > > gnome-terminal
> > > > 17124 root  20   0 1008m 9.9m 3828 S  0.0  0.5   0:00.46 libvirtd
> > > >  2129 john  20   0  458m 9896 7292 S  0.0  0.5   0:00.87
> > > > gpk-update-icon
> > > >  2140 john  20   0  359m 9812 7088 S  0.0  0.5   0:00.04
> > > > gnome-volume-co
> > > >
> > > > }}
> > > >
> > > > 我用的测试小PC, 2G内存,这样的话内存基本完了:
> > > > {{
> > > > [root@kvmhost1 ~]# free -m
> > > >  total   used   free sharedbuffers
> > cached
> > > > Mem:  1875   1783 91  0100
> >  306
> > > > -/+ buffers/cache:   1376498
> > > > Swap: 4031508   3523
> > > > }}
> > > >
> > > > --
> > > > BR John Pang
> > > >
> > >
> >
> >
> >
> > --
> > BR John (Pang Yujiang)
> >
>



-- 
BR John (Pang Yujiang)


Re: KVM host上两个qemu-kvm进程占用内存太高

2014-06-17 文章 Wei ZHOU
可以改改service_offering表里consoleproxy和secondarystoragevm的配置。
或者UI新建system offering,然后global
configration里面修改secstorage.service.offering和consoleproxy.service.offering


2014-06-17 11:19 GMT+02:00 Yujiang Pang :

> CPVM 和 SSVM
>
> 刚刚查了下应该是在这个host上创建这两个VM了。这个host基本就不能再用了,对于小鸟PC来说。
>
> 谢谢指点。
>
> BR John Pang
>
>
> On 17 June 2014 17:14, Wei ZHOU  wrote:
>
> > 你看看ps -ef|grep qemu-kvm
> >
> >
> > 2014-06-17 10:59 GMT+02:00 Yujiang Pang :
> >
> > > Hi all,
> > >
> > > 我发现一台装好KVM的host比较慢,有两个qemu-kvm进程占用内存太高,如下:
> > >
> > > 这种情况正常吗?
> > >
> > > {{
> > >
> > > top - 16:55:53 up 6 days, 23:25,  3 users,  load average: 0.00, 0.00,
> > 0.00
> > > Tasks: 196 total,   1 running, 195 sleeping,   0 stopped,   0 zombie
> > > Cpu(s):  0.8%us,  0.5%sy,  0.0%ni, 98.2%id,  0.5%wa,  0.0%hi,  0.0%si,
> > >  0.0%st
> > > Mem:   1920612k total,  1824932k used,95680k free,   102468k
> buffers
> > > Swap:  4128760k total,   520924k used,  3607836k free,   314224k cached
> > >
> > >   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
> > > 13138 root  20   0 1819m 416m 4872 S  1.0 22.2  29:09.82 qemu-kvm
> > > 12994 root  20   0 2326m 409m 4872 S  0.3 21.9  22:08.52 qemu-kvm
> > > 12760 root  20   0 2189m 107m 9572 S  1.0  5.7   5:27.47 jsvc
> > >  1861 root  20   0  202m  31m 6392 S  0.0  1.7   0:18.66 Xorg
> > >  2096 john  20   0  474m  15m 7988 S  0.0  0.8   0:00.42 nautilus
> > >  2162 john  20   0  451m  10m 7920 S  0.0  0.6   0:08.35
> clock-applet
> > >  2073 john  20   0  496m  10m 6248 S  0.0  0.6   0:22.92
> > > gnome-settings-
> > >  2092 john  20   0  321m  10m 7592 S  0.0  0.6   0:16.97
> gnome-panel
> > >  2177 john  20   0  288m  10m 7076 S  0.0  0.5   0:00.10
> > gnome-terminal
> > > 17124 root  20   0 1008m 9.9m 3828 S  0.0  0.5   0:00.46 libvirtd
> > >  2129 john  20   0  458m 9896 7292 S  0.0  0.5   0:00.87
> > > gpk-update-icon
> > >  2140 john  20   0  359m 9812 7088 S  0.0  0.5   0:00.04
> > > gnome-volume-co
> > >
> > > }}
> > >
> > > 我用的测试小PC, 2G内存,这样的话内存基本完了:
> > > {{
> > > [root@kvmhost1 ~]# free -m
> > >  total   used   free sharedbuffers
> cached
> > > Mem:  1875   1783 91  0100
>  306
> > > -/+ buffers/cache:   1376498
> > > Swap: 4031508   3523
> > > }}
> > >
> > > --
> > > BR John Pang
> > >
> >
>
>
>
> --
> BR John (Pang Yujiang)
>


Re: KVM host上两个qemu-kvm进程占用内存太高

2014-06-17 文章 Yujiang Pang
CPVM 和 SSVM

刚刚查了下应该是在这个host上创建这两个VM了。这个host基本就不能再用了,对于小鸟PC来说。

谢谢指点。

BR John Pang


On 17 June 2014 17:14, Wei ZHOU  wrote:

> 你看看ps -ef|grep qemu-kvm
>
>
> 2014-06-17 10:59 GMT+02:00 Yujiang Pang :
>
> > Hi all,
> >
> > 我发现一台装好KVM的host比较慢,有两个qemu-kvm进程占用内存太高,如下:
> >
> > 这种情况正常吗?
> >
> > {{
> >
> > top - 16:55:53 up 6 days, 23:25,  3 users,  load average: 0.00, 0.00,
> 0.00
> > Tasks: 196 total,   1 running, 195 sleeping,   0 stopped,   0 zombie
> > Cpu(s):  0.8%us,  0.5%sy,  0.0%ni, 98.2%id,  0.5%wa,  0.0%hi,  0.0%si,
> >  0.0%st
> > Mem:   1920612k total,  1824932k used,95680k free,   102468k buffers
> > Swap:  4128760k total,   520924k used,  3607836k free,   314224k cached
> >
> >   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
> > 13138 root  20   0 1819m 416m 4872 S  1.0 22.2  29:09.82 qemu-kvm
> > 12994 root  20   0 2326m 409m 4872 S  0.3 21.9  22:08.52 qemu-kvm
> > 12760 root  20   0 2189m 107m 9572 S  1.0  5.7   5:27.47 jsvc
> >  1861 root  20   0  202m  31m 6392 S  0.0  1.7   0:18.66 Xorg
> >  2096 john  20   0  474m  15m 7988 S  0.0  0.8   0:00.42 nautilus
> >  2162 john  20   0  451m  10m 7920 S  0.0  0.6   0:08.35 clock-applet
> >  2073 john  20   0  496m  10m 6248 S  0.0  0.6   0:22.92
> > gnome-settings-
> >  2092 john  20   0  321m  10m 7592 S  0.0  0.6   0:16.97 gnome-panel
> >  2177 john  20   0  288m  10m 7076 S  0.0  0.5   0:00.10
> gnome-terminal
> > 17124 root  20   0 1008m 9.9m 3828 S  0.0  0.5   0:00.46 libvirtd
> >  2129 john  20   0  458m 9896 7292 S  0.0  0.5   0:00.87
> > gpk-update-icon
> >  2140 john  20   0  359m 9812 7088 S  0.0  0.5   0:00.04
> > gnome-volume-co
> >
> > }}
> >
> > 我用的测试小PC, 2G内存,这样的话内存基本完了:
> > {{
> > [root@kvmhost1 ~]# free -m
> >  total   used   free sharedbuffers cached
> > Mem:  1875   1783 91  0100306
> > -/+ buffers/cache:   1376498
> > Swap: 4031508   3523
> > }}
> >
> > --
> > BR John Pang
> >
>



-- 
BR John (Pang Yujiang)


Re: KVM host上两个qemu-kvm进程占用内存太高

2014-06-17 文章 Wei ZHOU
你看看ps -ef|grep qemu-kvm


2014-06-17 10:59 GMT+02:00 Yujiang Pang :

> Hi all,
>
> 我发现一台装好KVM的host比较慢,有两个qemu-kvm进程占用内存太高,如下:
>
> 这种情况正常吗?
>
> {{
>
> top - 16:55:53 up 6 days, 23:25,  3 users,  load average: 0.00, 0.00, 0.00
> Tasks: 196 total,   1 running, 195 sleeping,   0 stopped,   0 zombie
> Cpu(s):  0.8%us,  0.5%sy,  0.0%ni, 98.2%id,  0.5%wa,  0.0%hi,  0.0%si,
>  0.0%st
> Mem:   1920612k total,  1824932k used,95680k free,   102468k buffers
> Swap:  4128760k total,   520924k used,  3607836k free,   314224k cached
>
>   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
> 13138 root  20   0 1819m 416m 4872 S  1.0 22.2  29:09.82 qemu-kvm
> 12994 root  20   0 2326m 409m 4872 S  0.3 21.9  22:08.52 qemu-kvm
> 12760 root  20   0 2189m 107m 9572 S  1.0  5.7   5:27.47 jsvc
>  1861 root  20   0  202m  31m 6392 S  0.0  1.7   0:18.66 Xorg
>  2096 john  20   0  474m  15m 7988 S  0.0  0.8   0:00.42 nautilus
>  2162 john  20   0  451m  10m 7920 S  0.0  0.6   0:08.35 clock-applet
>  2073 john  20   0  496m  10m 6248 S  0.0  0.6   0:22.92
> gnome-settings-
>  2092 john  20   0  321m  10m 7592 S  0.0  0.6   0:16.97 gnome-panel
>  2177 john  20   0  288m  10m 7076 S  0.0  0.5   0:00.10 gnome-terminal
> 17124 root  20   0 1008m 9.9m 3828 S  0.0  0.5   0:00.46 libvirtd
>  2129 john  20   0  458m 9896 7292 S  0.0  0.5   0:00.87
> gpk-update-icon
>  2140 john  20   0  359m 9812 7088 S  0.0  0.5   0:00.04
> gnome-volume-co
>
> }}
>
> 我用的测试小PC, 2G内存,这样的话内存基本完了:
> {{
> [root@kvmhost1 ~]# free -m
>  total   used   free sharedbuffers cached
> Mem:  1875   1783 91  0100306
> -/+ buffers/cache:   1376498
> Swap: 4031508   3523
> }}
>
> --
> BR John Pang
>


KVM host上两个qemu-kvm进程占用内存太高

2014-06-17 文章 Yujiang Pang
Hi all,

我发现一台装好KVM的host比较慢,有两个qemu-kvm进程占用内存太高,如下:

这种情况正常吗?

{{

top - 16:55:53 up 6 days, 23:25,  3 users,  load average: 0.00, 0.00, 0.00
Tasks: 196 total,   1 running, 195 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.8%us,  0.5%sy,  0.0%ni, 98.2%id,  0.5%wa,  0.0%hi,  0.0%si,
 0.0%st
Mem:   1920612k total,  1824932k used,95680k free,   102468k buffers
Swap:  4128760k total,   520924k used,  3607836k free,   314224k cached

  PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
13138 root  20   0 1819m 416m 4872 S  1.0 22.2  29:09.82 qemu-kvm
12994 root  20   0 2326m 409m 4872 S  0.3 21.9  22:08.52 qemu-kvm
12760 root  20   0 2189m 107m 9572 S  1.0  5.7   5:27.47 jsvc
 1861 root  20   0  202m  31m 6392 S  0.0  1.7   0:18.66 Xorg
 2096 john  20   0  474m  15m 7988 S  0.0  0.8   0:00.42 nautilus
 2162 john  20   0  451m  10m 7920 S  0.0  0.6   0:08.35 clock-applet
 2073 john  20   0  496m  10m 6248 S  0.0  0.6   0:22.92 gnome-settings-
 2092 john  20   0  321m  10m 7592 S  0.0  0.6   0:16.97 gnome-panel
 2177 john  20   0  288m  10m 7076 S  0.0  0.5   0:00.10 gnome-terminal
17124 root  20   0 1008m 9.9m 3828 S  0.0  0.5   0:00.46 libvirtd
 2129 john  20   0  458m 9896 7292 S  0.0  0.5   0:00.87 gpk-update-icon
 2140 john  20   0  359m 9812 7088 S  0.0  0.5   0:00.04 gnome-volume-co

}}

我用的测试小PC, 2G内存,这样的话内存基本完了:
{{
[root@kvmhost1 ~]# free -m
 total   used   free sharedbuffers cached
Mem:  1875   1783 91  0100306
-/+ buffers/cache:   1376498
Swap: 4031508   3523
}}

-- 
BR John Pang