[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [patch] non-blocking disk IO
From: |
Christian MICHON |
Subject: |
Re: [Qemu-devel] [patch] non-blocking disk IO |
Date: |
Mon, 3 Oct 2005 14:58:41 +0200 |
I managed to make it work (qemu+non blocking IO on windows host),
with a rough estimation of 10% speed increase at the early stage of
windows setup. I expect more once windows installs itself in true
multitasking mode. :)
What you need to do is:
- download pthreads-w32-2-6-0-release.tar.gz and compile it from scratch
(make clean GC)
- you also need to add the following lines inside block.c (usleep is not
present in win32/mingw32)
#ifdef WIN32
void usleep(unsigned long usec)
{
Sleep(usec/1000);
}
#endif
- you need to update the link to include "-lpthreadGC2 -lz", and
keep a copy of the pthreadGC2.dll where qemu.exe will be
(to pu it just in from of "-lz" is just my personal suggestion)
HIH,
Christian
On 10/3/05, Elefterios Stamatogiannakis <address@hidden> wrote:
> With which pthreads library have you compiled it under windows?
>
> I've tried it with the one here:
>
> ftp://sources.redhat.com/pub/pthreads-win32/
>
> but it didn't compile.
>
> teris.
- [Qemu-devel] [patch] non-blocking disk IO, John Coiner, 2005/10/03
- Re: [Qemu-devel] [patch] non-blocking disk IO, Magnus Damm, 2005/10/03
- Re: [Qemu-devel] [patch] non-blocking disk IO, Elefterios Stamatogiannakis, 2005/10/03
- Re: [Qemu-devel] [patch] non-blocking disk IO,
Christian MICHON <=
- Re: [Qemu-devel] [patch] non-blocking disk IO, John Coiner, 2005/10/04
- Re: [Qemu-devel] [patch] non-blocking disk IO, Christian MICHON, 2005/10/04
- Re: [Qemu-devel] [patch] non-blocking disk IO, Elefterios Stamatogiannakis, 2005/10/04
- Re: [Qemu-devel] [patch] non-blocking disk IO, Christian MICHON, 2005/10/04
- Re: [Qemu-devel] [patch] non-blocking disk IO, Christian MICHON, 2005/10/04
- Re: [Qemu-devel] [patch] non-blocking disk IO, Jens Axboe, 2005/10/04
- Re: [Qemu-devel] [patch] non-blocking disk IO, John Coiner, 2005/10/04
- Re: [Qemu-devel] [patch] non-blocking disk IO, Christian MICHON, 2005/10/04
Re: [Qemu-devel] [patch] non-blocking disk IO, Jens Axboe, 2005/10/03