All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: "qemu-ppc@nongnu.org" <qemu-ppc@nongnu.org>,
	qemu-devel <qemu-devel@nongnu.org>,
	alex@alex.org.uk, Alexander Graf <agraf@suse.de>
Subject: Re: [Qemu-devel] PPC: Timer issues with git master
Date: Thu, 17 Oct 2013 15:40:14 +0100	[thread overview]
Message-ID: <525FF6CE.1010003@ilande.co.uk> (raw)
In-Reply-To: <5257BA59.4010108@redhat.com>

On 11/10/13 09:44, Paolo Bonzini wrote:

>> I've just upgraded my git repository from around the 1.6 release
>> timeframe to git master and I'm seeing some strange timing issues
>> running through my OpenBIOS test suite which weren't there before my git
>> update.
>>
>> The two most noticeable changes are in FreeBSD and HelenOS; the
>> countdown timer in the FreeBSD bootloader used to count down in seconds
>> whereas now it whizzes down to zero, and HelenOS now takes a very very
>> long time to boot.
>>
>> In order to reproduce from git master download the appropriate ISOs and
>> launch QEMU like this:
>>
>> ./qemu-system-ppc -cdrom
>> /home/build/src/qemu/image/ppc/FreeBSD-9.1-RC2-powerpc-release.iso -M
>> mac99 -m 512 -boot d
>>
>> ./qemu-system-ppc -cdrom
>> /home/build/src/qemu/image/ppc/HelenOS-0.4.2-ppc32.iso -m 512 -boot d
>>
>> Paulo/Alex B - I know you've been working with timers, so wondered if
>> this is related to some of the changes you've been making? I've also
>> copied Alex Graf in case this is somehow related to how the timer code
>> interacts with the PPC timebase-frequency.
>
> Can you bisect them?
>
> Paolo

Hi Paolo,

I've just attempted a bisection testing HelenOS, but I'm struggling to 
get a consistent result. Even with the same binary across multiple runs 
then sometimes I see the issue with frequent timer pauses, and sometimes 
I don't which makes tracking this down very difficult.

What I do see post-timer-rework is that when it does occur, the screen 
redraws become really really slow; rectangular blocks (maybe 2 per sec 
or so?) are redrawn very slowly working their way down the screen. I 
have a feeling from memory that HelenOS does tend to hit the timer 
interrupts quite hard on PPC so could it be that the new code somehow 
blocks screen updates under high timer interrupt load?

As for the FreeBSD issue, this seems to be something different from the 
HelenOS issue and I see it even with QEMU 1.6. A quick browse around the 
git logs points me towards this as a possible suspect: 
http://git.qemu.org/?p=qemu.git;a=commit;h=a0f9fdfd98cc0571f9921a7eadd7316532e3e289.


ATB,

Mark.

  reply	other threads:[~2013-10-17 14:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-10 22:27 [Qemu-devel] PPC: Timer issues with git master Mark Cave-Ayland
2013-10-11  8:44 ` Paolo Bonzini
2013-10-17 14:40   ` Mark Cave-Ayland [this message]
2013-10-17 14:53     ` Paolo Bonzini
2013-10-17 15:16       ` Mark Cave-Ayland
2013-10-17 15:32         ` Alex Bligh
2013-10-11 14:41 ` Alex Bligh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=525FF6CE.1010003@ilande.co.uk \
    --to=mark.cave-ayland@ilande.co.uk \
    --cc=agraf@suse.de \
    --cc=alex@alex.org.uk \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.