From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1077) From: Eric Van Hensbergen In-Reply-To: <13426df11003161604t20c78a8btb4dc38bde0245c4e@mail.gmail.com> Date: Tue, 16 Mar 2010 18:47:36 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <4B6561F9-9D86-4B83-8ABE-13D00DABDABB@gmail.com> References: <13426df11003161029v7fb35a3ft51d0e64af29aca72@mail.gmail.com> <13426df11003161119s285173f0tc4d5004554e1185d@mail.gmail.com> <13426df11003161604t20c78a8btb4dc38bde0245c4e@mail.gmail.com> To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Subject: Re: [9fans] interesting qemu problem Topicbox-Message-UUID: eb052d0e-ead5-11e9-9d60-3106f5b1d025 On Mar 16, 2010, at 6:04 PM, ron minnich wrote: > I was wrong. I built a new kernel from sources and performance is > still very bad, with a load of 2500 minimum. >=20 > Also, venti, on this little machine, is a bit hungry for memory. > venti...2010/0316 20:31:06 venti: conf.../boot/venti: mem 1,048,576 > bcmem 140,753,578 icmem 211,130,368...httpd > tcp!127.1!8000...init...icache 211,130,368 bytes =3D 3,298,912 = entries; > 16 scache > sync...2010/0316 20:31:12 arenas01: indexing 430 clumps... > announce tcp!127.1!17034...serving. > fossil(#S/sdC0/fossil)...fsys: dialing venti at tcp!127.1!17034 >=20 >=20 > This image formerly ran in 256M, now requires 512M, because venti > footprint is 140+211+211 ... wait, how does it ever fit in 512 anyway. >=20 > I think qemu changed too. An old kernel has the same problems. Not > sure what is up here. but for now qemu on unongo 9.10 is useless for > plan 9 from what I can see. >=20 You could configure venti to be less aggressive with its use of memory, = but that would likely hurt performance. Running venti inside qemu is silly. If you really want venti for your = vm, run venti on the host and target your in-vm fossil at it.=20 -eric