[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Re: [PATCH] fix gdbstub support for multiple threads in
Re: [Qemu-devel] Re: [PATCH] fix gdbstub support for multiple threads in usermode
Wed, 20 May 2009 16:27:59 +0100
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.