Re: [Qemu-devel] [PATCH] qemu: generate signals on tap I/O

2008-02-16 Thread Anders Melchiorsen
Aurelien Jarno <[EMAIL PROTECTED]> writes: > The patch below from KVM improves network transfers in a huge way. > wget in a MIPS target now gives me a transfer speed of up to 120 > Mbits/s with an e1000 emulated card. Without I/O signals, qemu is relying on periodic timer events to poll the I/O.

[Qemu-devel] Use SIGALRM for all timers

2008-02-13 Thread Anders Melchiorsen
I wonder if this patch makes sense, using SIGALRM for all kinds of timers, even those expiring through a file descriptor? It seems more clean to me to always use SIGALRM for alarms, but the actual trigger for this change was to free up SIGIO for KVM. Unfortunately, I have been unable to test it m

Re: [Qemu-devel] qemu vnc.c

2008-01-16 Thread Anders Melchiorsen
Anders Melchiorsen <[EMAIL PROTECTED]> writes: > --- a/qemu/vl.c > +++ b/qemu/vl.c > @@ -4902,13 +4902,6 @@ static void dumb_resize(DisplayState *ds, int w, int h) > { > } > > -static void dumb_refresh(DisplayState *ds) > -{ > -#if defined(CONFIG_SDL)

Re: [Qemu-devel] qemu vnc.c

2008-01-14 Thread Anders Melchiorsen
Johannes Schindelin <[EMAIL PROTECTED]> writes: > I haven't looked that deeply myself, but your explanations do not > give me a cozy feeling about your patch. I see your point, and I would love to discuss the merits of the patch (which is why I sent it in the first place). However, your gut feeli

Re: [Qemu-devel] qemu vnc.c

2008-01-14 Thread Anders Melchiorsen
Johannes Schindelin <[EMAIL PROTECTED]> writes: > Since you attached the patch, I will not quote the part that I am > commenting on. Yes, I attach to preserve formatting. Am I supposed to put it inline? Anyway, here it is, for discussion: diff --git a/qemu/vl.c b/qemu/vl.c index 30c9537..8d673

Re: [Qemu-devel] qemu vnc.c

2008-01-14 Thread Anders Melchiorsen
Andrzej Zaborowski <[EMAIL PROTECTED]> writes: > Log message: > Reduce redundant timer ticks in VNC, by Anders Melchiorsen. > > CVSWeb URLs: > http://cvs.savannah.gnu.org/viewcvs/qemu/vnc.c?cvsroot=qemu&r1=1.31&r2=1.32 That is great, thanks. However, I ha

[Qemu-devel] [PATCH] RTC dyntick

2008-01-06 Thread Anders Melchiorsen
Hello. This patch stops the qemu seconds timer when the RTC is not used. Once the cmos is accessed, the skipped seconds are accounted for, and the timer is enabled again. In case interrupts are to be delivered, the timer is not disabled. I have obviously gone mad from staring too much at PowerT

Re: [Qemu-devel] [PATCH] Reduce redundant timer rearming

2007-12-14 Thread Anders Melchiorsen
% time seconds usecs/call callserrors syscall -- --- --- - - 99.740.012590 1 22766 2706 ioctl 0.260.33 0 27044 clock_gettime 0.000.00 0 5413