Re: Why spicy don't support multiple thread

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

On Fri, Jan 18, 2013 at 11:11 AM, lvguangjun <guangjun.lv@xxxxxxxxxxxx> wrote:
> Why spicy don’t support multiple thread? It don’t make sense on multiple
> core CPU.

The spice client is not CPU-bound, but IO-bound. If you have
particular performance problems, please open a bug with arguments
leading to the conclusion that spice-gtk should use threads to solve
it.

The spice-gtk IO code is async. If CPU tasks start to be of concerned,
we will introduce usage of thread pool to make long task run in
parallel and not block main thread or other channels. There are some
limitations when using GLib or Gtk from multiple threads, and one
needs to be extra careful. Avoiding threads for the moment saved us
from those potential issues.

Patches backed by numbers are welcome,


--
Marc-André Lureau
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]