Re: [PATCH] virtiofsd: Used glib "shared" thread pool

2020-09-24 Thread Dr. David Alan Gilbert
* Vivek Goyal (vgo...@redhat.com) wrote: > glib offers thread pools and it seems to support "exclusive" and "shared" > thread pools. > > https://developer.gnome.org/glib/stable/glib-Thread-Pools.html#g-thread-pool-new > > Currently we use "exlusive" thread pools but its performance seems to be >

Re: [PATCH] virtiofsd: Used glib "shared" thread pool

2020-09-23 Thread Stefan Hajnoczi
On Mon, Sep 21, 2020 at 05:32:16PM -0400, Vivek Goyal wrote: > glib offers thread pools and it seems to support "exclusive" and "shared" > thread pools. > > https://developer.gnome.org/glib/stable/glib-Thread-Pools.html#g-thread-pool-new > > Currently we use "exlusive" thread pools but its perfor

Re: [PATCH] virtiofsd: Used glib "shared" thread pool

2020-09-22 Thread Daniel P . Berrangé
On Tue, Sep 22, 2020 at 01:42:55PM -0400, Vivek Goyal wrote: > On Tue, Sep 22, 2020 at 01:59:57PM +0100, Daniel P. Berrangé wrote: > > On Mon, Sep 21, 2020 at 05:32:16PM -0400, Vivek Goyal wrote: > > > glib offers thread pools and it seems to support "exclusive" and "shared" > > > thread pools. > >

Re: [PATCH] virtiofsd: Used glib "shared" thread pool

2020-09-22 Thread Vivek Goyal
On Tue, Sep 22, 2020 at 01:59:57PM +0100, Daniel P. Berrangé wrote: > On Mon, Sep 21, 2020 at 05:32:16PM -0400, Vivek Goyal wrote: > > glib offers thread pools and it seems to support "exclusive" and "shared" > > thread pools. > > > > https://developer.gnome.org/glib/stable/glib-Thread-Pools.html

Re: [PATCH] virtiofsd: Used glib "shared" thread pool

2020-09-22 Thread Vivek Goyal
On Tue, Sep 22, 2020 at 02:03:18PM +0200, Miklos Szeredi wrote: > On Mon, Sep 21, 2020 at 11:32 PM Vivek Goyal wrote: > > > glib offers thread pools and it seems to support "exclusive" and "shared" > > thread pools. > > > > > > https://developer.gnome.org/glib/stable/glib-Thread-Pools.html#g-thre

Re: [PATCH] virtiofsd: Used glib "shared" thread pool

2020-09-22 Thread Daniel P . Berrangé
On Mon, Sep 21, 2020 at 05:32:16PM -0400, Vivek Goyal wrote: > glib offers thread pools and it seems to support "exclusive" and "shared" > thread pools. > > https://developer.gnome.org/glib/stable/glib-Thread-Pools.html#g-thread-pool-new > > Currently we use "exlusive" thread pools but its perfor

Re: [PATCH] virtiofsd: Used glib "shared" thread pool

2020-09-22 Thread Vivek Goyal
On Tue, Sep 22, 2020 at 02:03:18PM +0200, Miklos Szeredi wrote: > On Mon, Sep 21, 2020 at 11:32 PM Vivek Goyal wrote: > > > glib offers thread pools and it seems to support "exclusive" and "shared" > > thread pools. > > > > > > https://developer.gnome.org/glib/stable/glib-Thread-Pools.html#g-thre

Re: [PATCH] virtiofsd: Used glib "shared" thread pool

2020-09-22 Thread Miklos Szeredi
On Mon, Sep 21, 2020 at 11:32 PM Vivek Goyal wrote: > glib offers thread pools and it seems to support "exclusive" and "shared" > thread pools. > > > https://developer.gnome.org/glib/stable/glib-Thread-Pools.html#g-thread-pool-new > > Currently we use "exlusive" thread pools but its performance s

[PATCH] virtiofsd: Used glib "shared" thread pool

2020-09-21 Thread Vivek Goyal
glib offers thread pools and it seems to support "exclusive" and "shared" thread pools. https://developer.gnome.org/glib/stable/glib-Thread-Pools.html#g-thread-pool-new Currently we use "exlusive" thread pools but its performance seems to be poor. I tried using "shared" thread pools and performan