Re: Question regarding multi-threading

J Snukis <[email protected]> Tue, 18 Apr 2023 20:00:08 +0000 (UTC)
Newsgroups gmane.network.unison.devel
Message-ID <[email protected]>
--===============8176863949329935057==
Content-Type: multipart/alternative; 
	boundary="----=_Part_4395960_1873315776.1681848008227"

------=_Part_4395960_1873315776.1681848008227
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Upgrading the software will have to be a long term plan, unfortunately thes=
e servers are in use now.
I noticed that while we have 10 threads specified in the prf it seems to be=
 running single threaded. Is the value a single number?
Also what would be the way to specify large files only? I see the option fo=
r maxsize but not for minimum.
I inherited this from the previous person so if these are simple questions =
my apologies.


Sent from Yahoo Mail for iPhone


On Thursday, April 6, 2023, 3:39 PM, T=C3=B5ivo Leedj=C3=A4rv <toivol@gmail=
.com> wrote:

On Thu, 6 Apr 2023 at 19:51, [email protected] <[email protected]> wrote:
>
> We're currently running 2.48.4 and are seeing issue with latency.

I recommend you upgrade to the latest version which is 2.53.2. What
platform are you on? If you need help upgrading (if, for example, you
don't get a newer version from your package repository), I'm sure we
can sort it out together.

> We are getting file that are ~25GB and they are taking hours to sync, lea=
ving a backlog of files. The .prf currently has maxthreads =3D 10 configure=
d but it doesn't look as if the process is multi-threading.
>
> Appreciate any pointers to increase throughput, the person who configured=
 this is no longer with us.

You should try the version upgrade first and see if it improves the situati=
on.

Thinking ahead, if it's not possible to solve the problem with a
single .prf then it is possible to create multiple profiles for the
same replicas. One profile would sync everything except these big
files. The other profile would sync only these big files. Two separate
processes would sync these two separate profiles, so this will at
least avoid leaving a backlog of files.




------=_Part_4395960_1873315776.1681848008227
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<html xmlns=3D"http://www.w3.org/1999/xhtml" xmlns:v=3D"urn:schemas-microso=
ft-com:vml" xmlns:o=3D"urn:schemas-microsoft-com:office:office"><head><!--[=
if gte mso 9]><xml><o:OfficeDocumentSettings><o:AllowPNG/><o:PixelsPerInch>=
96</o:PixelsPerInch></o:OfficeDocumentSettings></xml><![endif]--></head><bo=
dy>
Upgrading the software will have to be a long term plan, unfortunately thes=
e servers are in use now.<div><br></div><div>I noticed that while we have 1=
0 threads specified in the prf it seems to be running single threaded. Is t=
he value a single number?</div><div><br></div><div>Also what would be the w=
ay to specify large files only? I see the option for maxsize but not for mi=
nimum.</div><div><br></div><div>I inherited this from the previous person s=
o if these are simple questions my apologies.<br><br><br><a href=3D"https:/=
/urldefense.com/v3/__https://overview.mail.yahoo.com/?.src=3DiOS__;!!IBzWLU=
s!T2EG_9i0A9LP7GsdTcs_setJ2EulKFsV6BkayBsa-wrQ6z3wAqcl0U8TWfcG0eB0ggPkska-s=
0kelxFj885l8vs8xTD1Xfg$">Sent from Yahoo Mail for iPhone</a><br><br><p clas=
s=3D"yahoo-quoted-begin" style=3D"font-size: 15px; color: #715FFA; padding-=
top: 15px; margin-top: 0">On Thursday, April 6, 2023, 3:39 PM, T=C3=B5ivo L=
eedj=C3=A4rv &lt;[email protected]&gt; wrote:</p><blockquote class=3D"iosyma=
il"><div dir=3D"ltr">On Thu, 6 Apr 2023 at 19:51, <a shape=3D"rect" ymailto=
=3D"mailto:[email protected]" href=3D"mailto:[email protected]">jjsnukis@=
yahoo.com</a> &lt;<a shape=3D"rect" ymailto=3D"mailto:[email protected]" h=
ref=3D"mailto:[email protected]">[email protected]</a>&gt; wrote:<br clea=
r=3D"none">&gt;<br clear=3D"none">&gt; We're currently running 2.48.4 and a=
re seeing issue with latency.<br clear=3D"none"><br clear=3D"none">I recomm=
end you upgrade to the latest version which is 2.53.2. What<br clear=3D"non=
e">platform are you on? If you need help upgrading (if, for example, you<br=
 clear=3D"none">don't get a newer version from your package repository), I'=
m sure we<br clear=3D"none">can sort it out together.<div class=3D"yqt10615=
81934" id=3D"yqtfd41008"><br clear=3D"none"><br clear=3D"none">&gt; We are =
getting file that are ~25GB and they are taking hours to sync, leaving a ba=
cklog of files. The .prf currently has maxthreads =3D 10 configured but it =
doesn't look as if the process is multi-threading.<br clear=3D"none">&gt;<b=
r clear=3D"none">&gt; Appreciate any pointers to increase throughput, the p=
erson who configured this is no longer with us.</div><br clear=3D"none"><br=
 clear=3D"none">You should try the version upgrade first and see if it impr=
oves the situation.<br clear=3D"none"><br clear=3D"none">Thinking ahead, if=
 it's not possible to solve the problem with a<br clear=3D"none">single .pr=
f then it is possible to create multiple profiles for the<br clear=3D"none"=
>same replicas. One profile would sync everything except these big<br clear=
=3D"none">files. The other profile would sync only these big files. Two sep=
arate<br clear=3D"none">processes would sync these two separate profiles, s=
o this will at<br clear=3D"none">least avoid leaving a backlog of files.<di=
v class=3D"yqt1061581934" id=3D"yqtfd44563"><br clear=3D"none"></div></div>=
<blockquote></blockquote></blockquote></div>
</body></html>=

------=_Part_4395960_1873315776.1681848008227--

--===============8176863949329935057==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Unison-hackers mailing list
[email protected]
https://LISTS.SEAS.UPENN.EDU/mailman/listinfo/unison-hackers

--===============8176863949329935057==--