summary refs log tree commit diff stats
path: root/include/standard-headers/linux/input-event-codes.h
diff options
context:
space:
mode:
authorVivek Goyal <vgoyal@redhat.com>2020-09-21 17:32:16 -0400
committerDr. David Alan Gilbert <dgilbert@redhat.com>2020-09-25 12:45:58 +0100
commit04d325e86f79bd61f8fd50d45ff795aca0dd3404 (patch)
tree5a2e459003c6a6a137de7f2032ebab7f282919bc /include/standard-headers/linux/input-event-codes.h
parentf1303afe222759105fc1787992098f5754c7e296 (diff)
downloadfocaccia-qemu-04d325e86f79bd61f8fd50d45ff795aca0dd3404.tar.gz
focaccia-qemu-04d325e86f79bd61f8fd50d45ff795aca0dd3404.zip
virtiofsd: Used glib "shared" thread pool
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 performance seems much
better. I posted performance results here.

https://www.redhat.com/archives/virtio-fs/2020-September/msg00080.html

So lets switch to shared thread pools. We can think of making it optional
once somebody can show in what cases exclusive thread pools offer better
results. For now, my simple performance tests across the board see
better results with shared thread pools.

Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Message-Id: <20200921213216.GE13362@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
  With seccomp fix from Miklos
Diffstat (limited to 'include/standard-headers/linux/input-event-codes.h')
0 files changed, 0 insertions, 0 deletions