Re: [X2Go-User] Suspending sessions causes performance slowing down
Hello, We added the sleep=0 option in the /etc/x2go/x2goagent.options file. X2GO_NXOPTIONS="sleep=0" In the /etc/x2go/x2goserver.conf file, we enabled the superenicer,i.e., changed enable=no to enable=yes. [superenicer] # enable the SupeReNicer code in x2gocleansessions, this will renice suspended s essions to nice level 19 # and renice them to level 0 if the session becomes marked as running again... enable=yes and removed the comment from idle-nice-level and kept the value of 19 # the idle nice level (for suspended sessions) idle-nice-level=19 Then we rebooted our system. With these changed settings we were able to see comparable processing speeds and CPU usage for active vs suspended sessions. This was our desire because many times we have to run processes overnight or over the course of several days while the session is suspended. h From: Ulrich Sibiller Sent: Tuesday, June 2, 2020 3:14 AM To: h i Cc: x2go-user@lists.x2go.org Subject: Re: [X2Go-User] Suspending sessions causes performance slowing down On Tue, Jun 2, 2020 at 3:04 AM h i wrote: > I ran a few tests and see the issue is GUI related in our case. It seems to > speak to the 2nd reason for sleep you described regarding the sending of > pixmaps. > > I ran two MATLAB scripts. Both including the same steps. However, 1 script > suppressed pop-windows tracking the script status. The 2nd script did not > suppress the pop-up windows displaying What gui toolkit is matlab using? > real-time status. The 1st script involving command lines ran in the same > amount whether the session was active or suspended. No reduction of time or > CPU usage. The 2nd script took much longer and CPU was reduced significantly > while the session was suspended. > > A few questions: > > for X2GO_NXOPTIONS="sleep=0", what does 0 represent in time. If I set the > value to 1000, what would that mean? This defines how long nxagent should sleep. The unit should be microseconds but there's a ticket for doublechecking that because it looks like a mixup happened during implementation (https://github.com/ArcticaProject/nx-libs/issues/928). > Is the idle-nice-level=19 for suspended sessions the default setting? As I said I don't know the superreniver feature in detail. > Would the supernicer setting override the x2goagent sleep option setting? no, they are two different things. > What would be an example command for the -irlimit option in x2goagent.options > file. see https://github.com/ArcticaProject/nx-libs/issues/796 Uli ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] Suspending sessions causes performance slowing down
Ok, so jogl does not use java2d. As I expected... Uli On Tue, Jun 2, 2020 at 12:00 PM Johannes Töger wrote: > > Should be "with and without transparency"... > > > — > Johannes Töger > > Associate Senior Lecturer > Cardiac MR Group > Department of Clinical Sciences Lund, Clinical Physiology > Lund University, Sweden > > -Original Message- > From: x2go-user On Behalf Of Johannes Töger > Sent: Tuesday, June 2, 2020 11:58 > To: Ulrich Sibiller > Cc: x2go-user@lists.x2go.org > Subject: Re: [X2Go-User] Suspending sessions causes performance slowing down > > I did some quick benchmarks by rotating a simple 3D model with and without > benchmarks, see script at the end. Transparency is turned off by setting > alpha = 1. > > Baseline: > Without transparency: 71±11 ms per frame With transparency: 781±112 ms per > frame > > Using export _JAVA_OPTIONS=-Dsun.java2d.xrender=true: > Without transparency: 69±12 ms per frame With transparency: 771±110 ms per > frame > > > So within the measurement variance. > > > > > function matlab_graphics_perf_test > > Nang = 50; > azvec = linspace(-180, 180, Nang) + 45; > el = 27; > > figure(9) > > [x,y,z] = peaks; > alpha = 0.5; > surf(x,y,z, 'FaceAlpha', alpha) > axis vis3d > > Tvec = zeros(size(azvec)); > > for azloop = 1:length(azvec) > tic > view([azvec(azloop) el]) > drawnow > Tvec(azloop) = toc; > end > > fprintf('Average frame time: %g ± %g s\n', mean(Tvec), std(Tvec)); > > > end > > > — > Johannes Töger > > Associate Senior Lecturer > Cardiac MR Group > Department of Clinical Sciences Lund, Clinical Physiology Lund University, > Sweden > > -Original Message- > From: Ulrich Sibiller > Sent: Tuesday, June 2, 2020 11:04 > To: Johannes Töger > Cc: h i ; x2go-user@lists.x2go.org > Subject: Re: [X2Go-User] Suspending sessions causes performance slowing down > > Usually you can instruct java to use xrender by calling java with > "-Dsun.java2d.xrender=true" or run "export > _JAVA_OPTIONS=-Dsun.java2d.xrender=true" prior to starting the java > application. You can also configure that globally: > https://serverfault.com/questions/270924/setting-java-runtime-setting-for-all-users-on-a-client-pc > > This generally should reduce the number of pixmap related calls. But I don't > know if it will have any effect on jogl. > > Uli > > On Tue, Jun 2, 2020 at 10:47 AM Johannes Töger > wrote: > > > > I can answer about the GUI toolkit. I was debugging MATLAB performance > > issues last week so I looked into this. > > > > Matlab uses the jobamp/jogl framework. https://jogamp.org/jogl/www/ > > > > In my Ubuntu/x2go/MATE setup, it falls back on a "software OpenGL" mode, > > which actually looks like MESA/Gallium software rendering: > > > > In Matlab: > > >> opengl info > > Version: '2.1 Mesa 17.1.3' > >Vendor: 'Brian Paul' > > Renderer: 'Mesa X11' > >MaxTextureSize: 16384 > >Visual: 'Visual 0x61, (RGBA 32 bits (8 8 8 8), Z > > depth 16 bits, Hardware acceleration, Double buffer, Antialias 0 samples)' > > Software: 'true' > > HardwareSupportLevel: 'none (known graphics driver issues)' > > SupportsGraphicsSmoothing: 0 > > SupportsDepthPeelTransparency: 1 > >SupportsAlignVertexCenters: 0 > >Extensions: {152×1 cell} > >MaxFrameBufferSize: 16384 > > > > > > > > johannes@compute-2:/usr/local/MATLAB/R2019a/sys/opengl/lib/glnxa64$ ls > > -1 C11ThreadEmulationLibraryLicense.rights > > EXTHeaderLicense.rights > > GalliumCodeLicense.rights > > GLXClientCodeLicense.rights > > libGL.so.1 > > libGL.so.1.6.0 > > libGLU.rights > > libGLU.so.1 > > libGLU.so.1.3.1 > > MesaDeviceDriversLicense.rights > > MesaLicense.rights > > > > > > — > > Johannes Töger > > > > Associate Senior Lecturer > > Cardiac MR Group > > Department of Clinical Sciences Lund, Clinical Physiology Lund > > University, Sweden > > > > -Original Message- > > From: x2go-user On Behalf Of Ulrich > > Sibiller > > Sent: Tuesday, June 2, 2020 09:15 > > To: h i > > Cc: x2go-user@lists.x2go.org > > Subject: Re: [X2Go-User] Suspending sessions causes performance > > slowing down > > > > On Tue, Jun 2, 2020
Re: [X2Go-User] Suspending sessions causes performance slowing down
Should be "with and without transparency"... — Johannes Töger Associate Senior Lecturer Cardiac MR Group Department of Clinical Sciences Lund, Clinical Physiology Lund University, Sweden -Original Message- From: x2go-user On Behalf Of Johannes Töger Sent: Tuesday, June 2, 2020 11:58 To: Ulrich Sibiller Cc: x2go-user@lists.x2go.org Subject: Re: [X2Go-User] Suspending sessions causes performance slowing down I did some quick benchmarks by rotating a simple 3D model with and without benchmarks, see script at the end. Transparency is turned off by setting alpha = 1. Baseline: Without transparency: 71±11 ms per frame With transparency: 781±112 ms per frame Using export _JAVA_OPTIONS=-Dsun.java2d.xrender=true: Without transparency: 69±12 ms per frame With transparency: 771±110 ms per frame So within the measurement variance. function matlab_graphics_perf_test Nang = 50; azvec = linspace(-180, 180, Nang) + 45; el = 27; figure(9) [x,y,z] = peaks; alpha = 0.5; surf(x,y,z, 'FaceAlpha', alpha) axis vis3d Tvec = zeros(size(azvec)); for azloop = 1:length(azvec) tic view([azvec(azloop) el]) drawnow Tvec(azloop) = toc; end fprintf('Average frame time: %g ± %g s\n', mean(Tvec), std(Tvec)); end — Johannes Töger Associate Senior Lecturer Cardiac MR Group Department of Clinical Sciences Lund, Clinical Physiology Lund University, Sweden -Original Message- From: Ulrich Sibiller Sent: Tuesday, June 2, 2020 11:04 To: Johannes Töger Cc: h i ; x2go-user@lists.x2go.org Subject: Re: [X2Go-User] Suspending sessions causes performance slowing down Usually you can instruct java to use xrender by calling java with "-Dsun.java2d.xrender=true" or run "export _JAVA_OPTIONS=-Dsun.java2d.xrender=true" prior to starting the java application. You can also configure that globally: https://serverfault.com/questions/270924/setting-java-runtime-setting-for-all-users-on-a-client-pc This generally should reduce the number of pixmap related calls. But I don't know if it will have any effect on jogl. Uli On Tue, Jun 2, 2020 at 10:47 AM Johannes Töger wrote: > > I can answer about the GUI toolkit. I was debugging MATLAB performance issues > last week so I looked into this. > > Matlab uses the jobamp/jogl framework. https://jogamp.org/jogl/www/ > > In my Ubuntu/x2go/MATE setup, it falls back on a "software OpenGL" mode, > which actually looks like MESA/Gallium software rendering: > > In Matlab: > >> opengl info > Version: '2.1 Mesa 17.1.3' >Vendor: 'Brian Paul' > Renderer: 'Mesa X11' >MaxTextureSize: 16384 >Visual: 'Visual 0x61, (RGBA 32 bits (8 8 8 8), Z > depth 16 bits, Hardware acceleration, Double buffer, Antialias 0 samples)' > Software: 'true' > HardwareSupportLevel: 'none (known graphics driver issues)' > SupportsGraphicsSmoothing: 0 > SupportsDepthPeelTransparency: 1 >SupportsAlignVertexCenters: 0 >Extensions: {152×1 cell} >MaxFrameBufferSize: 16384 > > > > johannes@compute-2:/usr/local/MATLAB/R2019a/sys/opengl/lib/glnxa64$ ls > -1 C11ThreadEmulationLibraryLicense.rights > EXTHeaderLicense.rights > GalliumCodeLicense.rights > GLXClientCodeLicense.rights > libGL.so.1 > libGL.so.1.6.0 > libGLU.rights > libGLU.so.1 > libGLU.so.1.3.1 > MesaDeviceDriversLicense.rights > MesaLicense.rights > > > — > Johannes Töger > > Associate Senior Lecturer > Cardiac MR Group > Department of Clinical Sciences Lund, Clinical Physiology Lund > University, Sweden > > -Original Message- > From: x2go-user On Behalf Of Ulrich > Sibiller > Sent: Tuesday, June 2, 2020 09:15 > To: h i > Cc: x2go-user@lists.x2go.org > Subject: Re: [X2Go-User] Suspending sessions causes performance > slowing down > > On Tue, Jun 2, 2020 at 3:04 AM h i wrote: > > I ran a few tests and see the issue is GUI related in our case. It seems to > > speak to the 2nd reason for sleep you described regarding the sending of > > pixmaps. > > > > I ran two MATLAB scripts. Both including the same steps. However, 1 > > script suppressed pop-windows tracking the script status. The 2nd > > script did not suppress the pop-up windows displaying > > What gui toolkit is matlab using? > > > real-time status. The 1st script involving command lines ran in the same > > amount whether the session was active or suspended. No reduction of time or > > CPU usage. The 2nd script took much longer and CPU was reduced > > significantly while the session was suspended. > > > > A few questions: >
Re: [X2Go-User] Suspending sessions causes performance slowing down
I did some quick benchmarks by rotating a simple 3D model with and without benchmarks, see script at the end. Transparency is turned off by setting alpha = 1. Baseline: Without transparency: 71±11 ms per frame With transparency: 781±112 ms per frame Using export _JAVA_OPTIONS=-Dsun.java2d.xrender=true: Without transparency: 69±12 ms per frame With transparency: 771±110 ms per frame So within the measurement variance. function matlab_graphics_perf_test Nang = 50; azvec = linspace(-180, 180, Nang) + 45; el = 27; figure(9) [x,y,z] = peaks; alpha = 0.5; surf(x,y,z, 'FaceAlpha', alpha) axis vis3d Tvec = zeros(size(azvec)); for azloop = 1:length(azvec) tic view([azvec(azloop) el]) drawnow Tvec(azloop) = toc; end fprintf('Average frame time: %g ± %g s\n', mean(Tvec), std(Tvec)); end — Johannes Töger Associate Senior Lecturer Cardiac MR Group Department of Clinical Sciences Lund, Clinical Physiology Lund University, Sweden -Original Message- From: Ulrich Sibiller Sent: Tuesday, June 2, 2020 11:04 To: Johannes Töger Cc: h i ; x2go-user@lists.x2go.org Subject: Re: [X2Go-User] Suspending sessions causes performance slowing down Usually you can instruct java to use xrender by calling java with "-Dsun.java2d.xrender=true" or run "export _JAVA_OPTIONS=-Dsun.java2d.xrender=true" prior to starting the java application. You can also configure that globally: https://serverfault.com/questions/270924/setting-java-runtime-setting-for-all-users-on-a-client-pc This generally should reduce the number of pixmap related calls. But I don't know if it will have any effect on jogl. Uli On Tue, Jun 2, 2020 at 10:47 AM Johannes Töger wrote: > > I can answer about the GUI toolkit. I was debugging MATLAB performance issues > last week so I looked into this. > > Matlab uses the jobamp/jogl framework. https://jogamp.org/jogl/www/ > > In my Ubuntu/x2go/MATE setup, it falls back on a "software OpenGL" mode, > which actually looks like MESA/Gallium software rendering: > > In Matlab: > >> opengl info > Version: '2.1 Mesa 17.1.3' >Vendor: 'Brian Paul' > Renderer: 'Mesa X11' >MaxTextureSize: 16384 >Visual: 'Visual 0x61, (RGBA 32 bits (8 8 8 8), Z > depth 16 bits, Hardware acceleration, Double buffer, Antialias 0 samples)' > Software: 'true' > HardwareSupportLevel: 'none (known graphics driver issues)' > SupportsGraphicsSmoothing: 0 > SupportsDepthPeelTransparency: 1 >SupportsAlignVertexCenters: 0 >Extensions: {152×1 cell} >MaxFrameBufferSize: 16384 > > > > johannes@compute-2:/usr/local/MATLAB/R2019a/sys/opengl/lib/glnxa64$ ls > -1 C11ThreadEmulationLibraryLicense.rights > EXTHeaderLicense.rights > GalliumCodeLicense.rights > GLXClientCodeLicense.rights > libGL.so.1 > libGL.so.1.6.0 > libGLU.rights > libGLU.so.1 > libGLU.so.1.3.1 > MesaDeviceDriversLicense.rights > MesaLicense.rights > > > — > Johannes Töger > > Associate Senior Lecturer > Cardiac MR Group > Department of Clinical Sciences Lund, Clinical Physiology Lund > University, Sweden > > -Original Message----- > From: x2go-user On Behalf Of Ulrich > Sibiller > Sent: Tuesday, June 2, 2020 09:15 > To: h i > Cc: x2go-user@lists.x2go.org > Subject: Re: [X2Go-User] Suspending sessions causes performance > slowing down > > On Tue, Jun 2, 2020 at 3:04 AM h i wrote: > > I ran a few tests and see the issue is GUI related in our case. It seems to > > speak to the 2nd reason for sleep you described regarding the sending of > > pixmaps. > > > > I ran two MATLAB scripts. Both including the same steps. However, 1 > > script suppressed pop-windows tracking the script status. The 2nd > > script did not suppress the pop-up windows displaying > > What gui toolkit is matlab using? > > > real-time status. The 1st script involving command lines ran in the same > > amount whether the session was active or suspended. No reduction of time or > > CPU usage. The 2nd script took much longer and CPU was reduced > > significantly while the session was suspended. > > > > A few questions: > > > > for X2GO_NXOPTIONS="sleep=0", what does 0 represent in time. If I set the > > value to 1000, what would that mean? > > This defines how long nxagent should sleep. The unit should be microseconds > but there's a ticket for doublechecking that because it looks like a mixup > happened during implementation > (https://github.com/ArcticaProject/nx-libs/issues/928). > > > Is the i
Re: [X2Go-User] Suspending sessions causes performance slowing down
Usually you can instruct java to use xrender by calling java with "-Dsun.java2d.xrender=true" or run "export _JAVA_OPTIONS=-Dsun.java2d.xrender=true" prior to starting the java application. You can also configure that globally: https://serverfault.com/questions/270924/setting-java-runtime-setting-for-all-users-on-a-client-pc This generally should reduce the number of pixmap related calls. But I don't know if it will have any effect on jogl. Uli On Tue, Jun 2, 2020 at 10:47 AM Johannes Töger wrote: > > I can answer about the GUI toolkit. I was debugging MATLAB performance issues > last week so I looked into this. > > Matlab uses the jobamp/jogl framework. https://jogamp.org/jogl/www/ > > In my Ubuntu/x2go/MATE setup, it falls back on a "software OpenGL" mode, > which actually looks like MESA/Gallium software rendering: > > In Matlab: > >> opengl info > Version: '2.1 Mesa 17.1.3' >Vendor: 'Brian Paul' > Renderer: 'Mesa X11' >MaxTextureSize: 16384 >Visual: 'Visual 0x61, (RGBA 32 bits (8 8 8 8), Z > depth 16 bits, Hardware acceleration, Double buffer, Antialias 0 samples)' > Software: 'true' > HardwareSupportLevel: 'none (known graphics driver issues)' > SupportsGraphicsSmoothing: 0 > SupportsDepthPeelTransparency: 1 >SupportsAlignVertexCenters: 0 >Extensions: {152×1 cell} >MaxFrameBufferSize: 16384 > > > > johannes@compute-2:/usr/local/MATLAB/R2019a/sys/opengl/lib/glnxa64$ ls -1 > C11ThreadEmulationLibraryLicense.rights > EXTHeaderLicense.rights > GalliumCodeLicense.rights > GLXClientCodeLicense.rights > libGL.so.1 > libGL.so.1.6.0 > libGLU.rights > libGLU.so.1 > libGLU.so.1.3.1 > MesaDeviceDriversLicense.rights > MesaLicense.rights > > > — > Johannes Töger > > Associate Senior Lecturer > Cardiac MR Group > Department of Clinical Sciences Lund, Clinical Physiology > Lund University, Sweden > > -Original Message----- > From: x2go-user On Behalf Of Ulrich > Sibiller > Sent: Tuesday, June 2, 2020 09:15 > To: h i > Cc: x2go-user@lists.x2go.org > Subject: Re: [X2Go-User] Suspending sessions causes performance slowing down > > On Tue, Jun 2, 2020 at 3:04 AM h i wrote: > > I ran a few tests and see the issue is GUI related in our case. It seems to > > speak to the 2nd reason for sleep you described regarding the sending of > > pixmaps. > > > > I ran two MATLAB scripts. Both including the same steps. However, 1 > > script suppressed pop-windows tracking the script status. The 2nd > > script did not suppress the pop-up windows displaying > > What gui toolkit is matlab using? > > > real-time status. The 1st script involving command lines ran in the same > > amount whether the session was active or suspended. No reduction of time or > > CPU usage. The 2nd script took much longer and CPU was reduced > > significantly while the session was suspended. > > > > A few questions: > > > > for X2GO_NXOPTIONS="sleep=0", what does 0 represent in time. If I set the > > value to 1000, what would that mean? > > This defines how long nxagent should sleep. The unit should be microseconds > but there's a ticket for doublechecking that because it looks like a mixup > happened during implementation > (https://github.com/ArcticaProject/nx-libs/issues/928). > > > Is the idle-nice-level=19 for suspended sessions the default setting? > > As I said I don't know the superreniver feature in detail. > > > Would the supernicer setting override the x2goagent sleep option setting? > > no, they are two different things. > > > What would be an example command for the -irlimit option in > > x2goagent.options file. > > see https://github.com/ArcticaProject/nx-libs/issues/796 > > Uli > ___ > x2go-user mailing list > x2go-user@lists.x2go.org > https://lists.x2go.org/listinfo/x2go-user ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] Suspending sessions causes performance slowing down
I can answer about the GUI toolkit. I was debugging MATLAB performance issues last week so I looked into this. Matlab uses the jobamp/jogl framework. https://jogamp.org/jogl/www/ In my Ubuntu/x2go/MATE setup, it falls back on a "software OpenGL" mode, which actually looks like MESA/Gallium software rendering: In Matlab: >> opengl info Version: '2.1 Mesa 17.1.3' Vendor: 'Brian Paul' Renderer: 'Mesa X11' MaxTextureSize: 16384 Visual: 'Visual 0x61, (RGBA 32 bits (8 8 8 8), Z depth 16 bits, Hardware acceleration, Double buffer, Antialias 0 samples)' Software: 'true' HardwareSupportLevel: 'none (known graphics driver issues)' SupportsGraphicsSmoothing: 0 SupportsDepthPeelTransparency: 1 SupportsAlignVertexCenters: 0 Extensions: {152×1 cell} MaxFrameBufferSize: 16384 johannes@compute-2:/usr/local/MATLAB/R2019a/sys/opengl/lib/glnxa64$ ls -1 C11ThreadEmulationLibraryLicense.rights EXTHeaderLicense.rights GalliumCodeLicense.rights GLXClientCodeLicense.rights libGL.so.1 libGL.so.1.6.0 libGLU.rights libGLU.so.1 libGLU.so.1.3.1 MesaDeviceDriversLicense.rights MesaLicense.rights — Johannes Töger Associate Senior Lecturer Cardiac MR Group Department of Clinical Sciences Lund, Clinical Physiology Lund University, Sweden -Original Message- From: x2go-user On Behalf Of Ulrich Sibiller Sent: Tuesday, June 2, 2020 09:15 To: h i Cc: x2go-user@lists.x2go.org Subject: Re: [X2Go-User] Suspending sessions causes performance slowing down On Tue, Jun 2, 2020 at 3:04 AM h i wrote: > I ran a few tests and see the issue is GUI related in our case. It seems to > speak to the 2nd reason for sleep you described regarding the sending of > pixmaps. > > I ran two MATLAB scripts. Both including the same steps. However, 1 > script suppressed pop-windows tracking the script status. The 2nd > script did not suppress the pop-up windows displaying What gui toolkit is matlab using? > real-time status. The 1st script involving command lines ran in the same > amount whether the session was active or suspended. No reduction of time or > CPU usage. The 2nd script took much longer and CPU was reduced significantly > while the session was suspended. > > A few questions: > > for X2GO_NXOPTIONS="sleep=0", what does 0 represent in time. If I set the > value to 1000, what would that mean? This defines how long nxagent should sleep. The unit should be microseconds but there's a ticket for doublechecking that because it looks like a mixup happened during implementation (https://github.com/ArcticaProject/nx-libs/issues/928). > Is the idle-nice-level=19 for suspended sessions the default setting? As I said I don't know the superreniver feature in detail. > Would the supernicer setting override the x2goagent sleep option setting? no, they are two different things. > What would be an example command for the -irlimit option in x2goagent.options > file. see https://github.com/ArcticaProject/nx-libs/issues/796 Uli ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] Suspending sessions causes performance slowing down
On Tue, Jun 2, 2020 at 3:04 AM h i wrote: > I ran a few tests and see the issue is GUI related in our case. It seems to > speak to the 2nd reason for sleep you described regarding the sending of > pixmaps. > > I ran two MATLAB scripts. Both including the same steps. However, 1 script > suppressed pop-windows tracking the script status. The 2nd script did not > suppress the pop-up windows displaying What gui toolkit is matlab using? > real-time status. The 1st script involving command lines ran in the same > amount whether the session was active or suspended. No reduction of time or > CPU usage. The 2nd script took much longer and CPU was reduced significantly > while the session was suspended. > > A few questions: > > for X2GO_NXOPTIONS="sleep=0", what does 0 represent in time. If I set the > value to 1000, what would that mean? This defines how long nxagent should sleep. The unit should be microseconds but there's a ticket for doublechecking that because it looks like a mixup happened during implementation (https://github.com/ArcticaProject/nx-libs/issues/928). > Is the idle-nice-level=19 for suspended sessions the default setting? As I said I don't know the superreniver feature in detail. > Would the supernicer setting override the x2goagent sleep option setting? no, they are two different things. > What would be an example command for the -irlimit option in x2goagent.options > file. see https://github.com/ArcticaProject/nx-libs/issues/796 Uli ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] Suspending sessions causes performance slowing down
Thanks for the info, Uli. I ran a few tests and see the issue is GUI related in our case. It seems to speak to the 2nd reason for sleep you described regarding the sending of pixmaps. I ran two MATLAB scripts. Both including the same steps. However, 1 script suppressed pop-windows tracking the script status. The 2nd script did not suppress the pop-up windows displaying real-time status. The 1st script involving command lines ran in the same amount whether the session was active or suspended. No reduction of time or CPU usage. The 2nd script took much longer and CPU was reduced significantly while the session was suspended. A few questions: 1. for X2GO_NXOPTIONS="sleep=0", what does 0 represent in time. If I set the value to 1000, what would that mean? 2. Is the idle-nice-level=19 for suspended sessions the default setting? 3. Would the supernicer setting override the x2goagent sleep option setting? 4. What would be an example command for the -irlimit option in x2goagent.options file. h From: Ulrich Sibiller Sent: Monday, June 1, 2020 5:22 PM To: h i Cc: x2go-user@lists.x2go.org Subject: Re: [X2Go-User] Suspending sessions causes performance slowing down On Mon, Jun 1, 2020 at 5:51 PM h i wrote: > By how much does the load reduce? I tried again over the weekend, and a > typical 5 minute process now takes 3 hours during a suspended session. Is > this normal or is there some underlying issue? Did this type of behavior > occur under freenx? Just don't recall this type of reduced speed while > suspending a session on the client side and running something overnight. > I've recently installed a Windows update on the client side and updated our > ubuntu 18.04 LTS server with mate DE. Any input would be appreciated. Thanks. > I cannot give you a percentage. It depends on the workload. There are two locations where the nxagent will sleep before going on: The first is where the nxagent waits for input by his clients or the real X server and the second one is when clients are sending pixmaps to the nxagent. Here the sleep depends on the size of the pixmap. Bigger pixmap, longer sleep. So sessions with a higher percentage of pixmap operations are slower than others. This behaviour was added in June 2016 between 3.5.0.28 and 3.5.0.29 (commit 6051dec4a1ae6decd9123a3310098baf43f45c49). So if it was active with freenx depends on what version of nx-libs your were using with freenx. Uli ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] Suspending sessions causes performance slowing down
On Mon, Jun 1, 2020 at 5:51 PM h i wrote: > By how much does the load reduce? I tried again over the weekend, and a > typical 5 minute process now takes 3 hours during a suspended session. Is > this normal or is there some underlying issue? Did this type of behavior > occur under freenx? Just don't recall this type of reduced speed while > suspending a session on the client side and running something overnight. > I've recently installed a Windows update on the client side and updated our > ubuntu 18.04 LTS server with mate DE. Any input would be appreciated. Thanks. > I cannot give you a percentage. It depends on the workload. There are two locations where the nxagent will sleep before going on: The first is where the nxagent waits for input by his clients or the real X server and the second one is when clients are sending pixmaps to the nxagent. Here the sleep depends on the size of the pixmap. Bigger pixmap, longer sleep. So sessions with a higher percentage of pixmap operations are slower than others. This behaviour was added in June 2016 between 3.5.0.28 and 3.5.0.29 (commit 6051dec4a1ae6decd9123a3310098baf43f45c49). So if it was active with freenx depends on what version of nx-libs your were using with freenx. Uli ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user