On Tue, Aug 17, 2010 at 9:50 AM, Brad Frank <[email protected]> wrote:
> Hi, I recently did a clean install of plan9 on qemu on linux. I've noticed > that the load is spiking on an interval every 30 seconds or something like > that. I looked at suggestions that it might be venti and timesync. But it > couldn't be venti because I didn't install venti, I have a fossil only > install. I looked at timesync, and killed it, and the load was still > spiking. It was suggested I try zwansch's gtop, which I did do, and I found > that fossil was using the most utime/stime. But it seemed like two different > threads? Fossil [disk] and Fossil [flush]. When I killed fossil [disk] my > load dropped, but obviously I lost disk access. What could possibly be > wrong, and why is it doing this? Another interesting thing, is that when the > load spikes like that, the emulator seems to temporarily lag or not respond, > until the load drops again, so this also effects the performance of plan9. > Any suggestions would be quite helpful. > I run Plan 9 in qemu, but I run neither fossil nor any other (major) disk file server in qemu. Instead, I have Inferno on my host serve files to Plan 9. To accomplish this: 1) I installed Plan 9, as normal, into a qemu disk image, with fossil as my fileserver 2) I tarred up my root and copied it to my host 3) I patched the 9 boot program to accept a file server on port 6666 rather than 564 (styx instead of 9fs) 4) I untarred the root fs and had Inferno: 'styxlisten -A tcp!*!6666 export /plan9' 5) Start the both (qemu and inferno) together. 6) Profit! -- vs
