[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Re: [PATCH] fix gdbstub support for multiple threads in
From: |
Jamie Lokier |
Subject: |
Re: [Qemu-devel] Re: [PATCH] fix gdbstub support for multiple threads in usermode |
Date: |
Wed, 20 May 2009 16:27:59 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Jan Kiszka wrote:
> 1. Stick head in sand - we will never see so many threads in reality, so
> neither wrap-around nor performance matters.
>
> 2. Go for a bitmap-based search of the next free ID (reducing the ID
> space so that the bitmap has a reasonable size)
>
> But I have no clue if and how long option 1 will suffice as I have no
> idea how many long-running highly dynamic multi-threaded use cases there
> are or will be for qemu user mode. But if you find option 2 easy enough
> to implement, I would do this nevertheless.
Big web servers can realistically have 1000+ running threads. But
realistically I don't see anyone running those in QEMU for a while :-)
Creating and destroying large numbers of threads during program
execution is mouch more common, though.
-- Jamie