<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks for the info, Uli.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
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.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
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.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
A few questions:</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<ol>
<li>for <span>X2GO_NXOPTIONS="sleep=0", what does 0 represent in time. If I set the value to 1000, what would that mean?<br>
</span><span></span></li><li>Is the idle-nice-level=19 for suspended sessions the default setting? </li><li>Would the supernicer setting override the x2goagent sleep option setting?</li><li><span>What would be an example command for the -irlimit option in x2goagent.options file.<br>
</span></li></ol>
<div><span>h</span></div>
</div>
<div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Ulrich Sibiller <uli42@gmx.de><br>
<b>Sent:</b> Monday, June 1, 2020 5:22 PM<br>
<b>To:</b> h i <qpile117@outlook.com><br>
<b>Cc:</b> x2go-user@lists.x2go.org <x2go-user@lists.x2go.org><br>
<b>Subject:</b> Re: [X2Go-User] Suspending sessions causes performance slowing down</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="PlainText">On Mon, Jun 1, 2020 at 5:51 PM h i <qpile117@outlook.com> wrote:<br>
> 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.<br>
><br>
<br>
I cannot give you a percentage. It depends on the workload. There are<br>
two locations where the nxagent will sleep before going on: The first<br>
is where the nxagent waits for input by his clients or the real X<br>
server and the second one is when clients are sending pixmaps to the<br>
nxagent. Here the sleep depends on the size of the pixmap. Bigger<br>
pixmap, longer sleep.<br>
<br>
So sessions with a higher percentage of pixmap operations are slower<br>
than others.<br>
<br>
This behaviour was added in June 2016 between 3.5.0.28 and 3.5.0.29<br>
(commit 6051dec4a1ae6decd9123a3310098baf43f45c49). So if it was active<br>
with freenx depends on what version of nx-libs your were using with<br>
freenx.<br>
<br>
Uli<br>
</div>
</span></font></div>
</div>
</body>
</html>