(Not reproducible locally)
On Thu, Sep 20, 2018 at 7:16 AM Frank Yang wrote:
> I have added more logging code and it seems that there is a hang that
> happens with 4096 MB RAM on Mac in virtio_blk_handle_vq:
>
> #define VIRTIO_BLK_UNUSUAL_ITER_COUNT 1024
>
> bool
I have added more logging code and it seems that there is a hang that
happens with 4096 MB RAM on Mac in virtio_blk_handle_vq:
#define VIRTIO_BLK_UNUSUAL_ITER_COUNT 1024
bool virtio_blk_handle_vq(VirtIOBlock *s, VirtQueue *vq)
{
VirtIOBlockReq *req;
MultiReqBuffer mrb = {};
bool
We also only get those reports from users with 4G RAM configured, so it
could also have to do with overflow.
On Tue, Sep 18, 2018 at 11:57 AM Frank Yang wrote:
> That seems to be the case, since our 15 second detector is reset if the
> main loop runs its timers again, so no main loop iterations
That seems to be the case, since our 15 second detector is reset if the
main loop runs its timers again, so no main loop iterations happened since
that aio_dispatch_handlers call (we use a looper abstraction for it).
On Tue, Sep 18, 2018 at 8:56 AM Paolo Bonzini wrote:
> On 15/09/2018 20:41,
On 15/09/2018 20:41, Frank Yang via Qemu-devel wrote:
> We have not reproduced this hang so far, this is from user crash reports
> that triggered our hang detector (where 15+ seconds pass without main loop
> / VCPU threads being able to go back and ping their loopers in main loop /
> vcpu threads.
And this one:
https://github.com/qemu/qemu/commit/a411c84b561baa94b28165c52f21c33517ee8f59
On Sat, Sep 15, 2018 at 4:42 PM Frank Yang wrote:
> I notice at least two commits in upstream QEMU that might impact this:
>
>
>
I notice at least two commits in upstream QEMU that might impact this:
https://github.com/qemu/qemu/commit/ce3a9eaff4e5f29514dba35a001894cb7a238e07#diff-8bfe2ea13d8c6dab17a555f300ac2f66
Hi qemu-devel,
So we're using QEMU 2.12 for recent Android Emulator canaryies, and we're
seeing a lot of hangs on mac in flatview_translate in qemu 2.12.
What would be some pointers for diagnosing excessive I/O?
Especially, metrics to see if a system is on the verge of getting into main
loop