Re: [Spice-devel] [PATCH spice-gtk 1/2] Change the setting of the images cache size and the glz window size

2012-01-22 Thread Yonit Halperin
Thanks, will send a corrected version. Yonit. On 01/18/2012 04:41 PM, Alon Levy wrote: On Mon, Jan 16, 2012 at 06:15:08PM +0200, Yonit Halperin wrote: Set the default sizes to be the same as in the old linux spice client. cache_size=20M pixels (instead of 32M), window_size=8M pixels for a 64MB

[Spice-devel] [PATCH spice-gtk v2 1/2] Change the setting of the images cache size and the glz window size

2012-01-22 Thread Yonit Halperin
Set the default sizes to be the same as in the old linux spice client. cache_size=20M pixels (instead of 32M), window_size=8M pixels for a 64MB dev ram (instead of 16M pixels). --- gtk/channel-display-priv.h |2 - gtk/channel-display.c | 22 +++--- gtk/channel-main.c |1

[Spice-devel] [PATCH spice-gtk v2 2/2] Add command line options for setting the cache size and the glz window size

2012-01-22 Thread Yonit Halperin
This options will help us tune and find the optimal values. --- gtk/spice-option.c | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/gtk/spice-option.c b/gtk/spice-option.c index 394a07d..d466f94 100644 --- a/gtk/spice-option.c +++ b/gtk/spice-option.c @@ -36,6

Re: [Spice-devel] [PATCH 5/7] server: don't complain if setsockopt(SO_PRIORITY) call fails

2012-01-22 Thread Alon Levy
On Thu, Jan 19, 2012 at 02:10:02PM -0600, Dan McGee wrote: From: Nahum Shalman nshalman-git...@elys.com dc7855967f4e did this for the TCP_NODELAY and IP_TOS calls; we should do it for priority as well if necessary. We also #ifdef the setting of the low-level socket priority based on

Re: [Spice-devel] [PATCH 4/7] server/inputs_channel: don't set O_ASYNC option on socket

2012-01-22 Thread Alon Levy
On Thu, Jan 19, 2012 at 02:10:01PM -0600, Dan McGee wrote: output to send a SIGIO signal to the running program. However, we don't handle this signal anywhere in the code, so setting the option is unnecessary. ACK. I can't find anything explaining why this why done - seems you are right

Re: [Spice-devel] Delay in Gimp when using qxl driver

2012-01-22 Thread Dominique Rodrigues
Le 20/01/2012 20:04, Yaniv Kaul a écrit : - Original Message - samplespcntfunctionDSO 3796.0060.4%hashlittle This sucks, unfortunately I don't have any quick fix for it. It's the hash computation done on each image. Needless to say it needs to be optimized

Re: [Spice-devel] Delay in Gimp when using qxl driver

2012-01-22 Thread Dominique Rodrigues
Le 22/01/2012 15:46, Alon Levy a écrit : On Sun, Jan 22, 2012 at 03:18:14PM +0100, Dominique Rodrigues wrote: Le 20/01/2012 20:04, Yaniv Kaul a écrit : - Original Message - samplespcntfunctionDSO 3796.0060.4%hashlittle This sucks, unfortunately I don't

Re: [Spice-devel] Delay in Gimp when using qxl driver

2012-01-22 Thread Dominique Rodrigues
Le 22/01/2012 16:00, Alon Levy a écrit : On Fri, Jan 20, 2012 at 02:04:47PM -0500, Yaniv Kaul wrote: - Original Message - On Wed, Jan 18, 2012 at 11:59:45AM +0100, Dominique Rodrigues wrote: Le 18/01/2012 11:48, Alon Levy a écrit : On Wed, Jan 18, 2012 at 11:39:13AM +0100, Dominique

Re: [Spice-devel] Delay in Gimp when using qxl driver

2012-01-22 Thread Alon Levy
On Sun, Jan 22, 2012 at 05:15:42PM +0200, Alon Levy wrote: On Sun, Jan 22, 2012 at 03:53:40PM +0100, Dominique Rodrigues wrote: Le 22/01/2012 16:00, Alon Levy a écrit : On Fri, Jan 20, 2012 at 02:04:47PM -0500, Yaniv Kaul wrote: - Original Message - On Wed, Jan 18, 2012 at

Re: [Spice-devel] Delay in Gimp when using qxl driver

2012-01-22 Thread Dominique Rodrigues
Le 22/01/2012 18:28, Alon Levy a écrit : On Sun, Jan 22, 2012 at 05:15:42PM +0200, Alon Levy wrote: On Sun, Jan 22, 2012 at 03:53:40PM +0100, Dominique Rodrigues wrote: Le 22/01/2012 16:00, Alon Levy a écrit : On Fri, Jan 20, 2012 at 02:04:47PM -0500, Yaniv Kaul wrote: - Original

Re: [Spice-devel] Delay in Gimp when using qxl driver

2012-01-22 Thread Dominique Rodrigues
Le 22/01/2012 15:52, Dominique Rodrigues a écrit : Le 22/01/2012 15:46, Alon Levy a écrit : On Sun, Jan 22, 2012 at 03:18:14PM +0100, Dominique Rodrigues wrote: Le 20/01/2012 20:04, Yaniv Kaul a écrit : - Original Message - samplespcntfunctionDSO 3796.0060.4%

Re: [Spice-devel] Delay in Gimp when using qxl driver

2012-01-22 Thread Dominique Rodrigues
Le 22/01/2012 19:39, Dominique Rodrigues a écrit : Le 22/01/2012 15:52, Dominique Rodrigues a écrit : Le 22/01/2012 15:46, Alon Levy a écrit : On Sun, Jan 22, 2012 at 03:18:14PM +0100, Dominique Rodrigues wrote: Le 20/01/2012 20:04, Yaniv Kaul a écrit : - Original Message - samples

Re: [Spice-devel] Delay in Gimp when using qxl driver

2012-01-22 Thread Alon Levy
On Sun, Jan 22, 2012 at 06:33:59PM +0100, Dominique Rodrigues wrote: Le 22/01/2012 18:28, Alon Levy a écrit : On Sun, Jan 22, 2012 at 05:15:42PM +0200, Alon Levy wrote: On Sun, Jan 22, 2012 at 03:53:40PM +0100, Dominique Rodrigues wrote: Le 22/01/2012 16:00, Alon Levy a écrit : On Fri, Jan

Re: [Spice-devel] Delay in Gimp when using qxl driver

2012-01-22 Thread Alon Levy
On Sun, Jan 22, 2012 at 11:03:47PM +0200, Alon Levy wrote: On Sun, Jan 22, 2012 at 06:33:59PM +0100, Dominique Rodrigues wrote: Le 22/01/2012 18:28, Alon Levy a écrit : On Sun, Jan 22, 2012 at 05:15:42PM +0200, Alon Levy wrote: On Sun, Jan 22, 2012 at 03:53:40PM +0100, Dominique

Re: [Spice-devel] Delay in Gimp when using qxl driver

2012-01-22 Thread Alon Levy
On Sun, Jan 22, 2012 at 07:39:39PM +0100, Dominique Rodrigues wrote: Le 22/01/2012 15:52, Dominique Rodrigues a écrit : Le 22/01/2012 15:46, Alon Levy a écrit : On Sun, Jan 22, 2012 at 03:18:14PM +0100, Dominique Rodrigues wrote: Le 20/01/2012 20:04, Yaniv Kaul a écrit : - Original

Re: [Spice-devel] Delay in Gimp when using qxl driver

2012-01-22 Thread Dominique Rodrigues
Le 22/01/2012 22:36, Alon Levy a écrit : On Sun, Jan 22, 2012 at 11:03:47PM +0200, Alon Levy wrote: On Sun, Jan 22, 2012 at 06:33:59PM +0100, Dominique Rodrigues wrote: Le 22/01/2012 18:28, Alon Levy a écrit : On Sun, Jan 22, 2012 at 05:15:42PM +0200, Alon Levy wrote: On Sun, Jan 22, 2012 at

[Spice-devel] [PATCH] replace lookup3 with MurmurHash3

2012-01-22 Thread Alon Levy
See http://code.google.com/p/smhasher/wiki/MurmurHash3 Performance quotes from there are 2.5 times what lookup3 can do, for 32 bit variant, which is what we use: Lookup3_x86_32 - 1234 mb/sec Lookup3_x64_32 - 1265 mb/sec MurmurHash3_x86_32 - 3105 mb/sec New files are released to