Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 May 2024 16:32:33 -0600
From:      "Cassidy B. Larson" <alandaluz@gmail.com>
To:        FreeBSD <freebsd-stable@freebsd.org>
Subject:   Forking on 13.3 restricting to same CPU core
Message-ID:  <CAPjUTPMB0fUyuc0qOgYGanKVnaTVGx_MnEfhSjtv_9roDt214w@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
--000000000000b645e406176c10d0
Content-Type: text/plain; charset="UTF-8"

Hi all,

We have an in-house php script that processes images. Been running it for
years. It forks itself a number of times to increase the amount of images
we can process per second.   13.2 has been running great. When upgrading to
13.3 or 14.0, the php forked processes all end up leveraging the came cpu
core, and that slows us waaay down.

I had a 13.2 userland, and 13.3 kernel and the issue doesnt occur.
Using a 13.3 userland and 13.3 kernel the issues does occur.  Same with a
fresh install of 14.0 userland/kernel.

Leveraging the pkg php82 from 13.2 land on 13.3 or the 13.3 pkg php82
doesnt' matter, both show the same issue.

Something in the userland/libraries in 13.3 apparently restricts the forked
php processes from leveraging any additional cpu cores.  Any ideas
where/what/how/why?

Thanks,

-c

--000000000000b645e406176c10d0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi all,<div><br></div><div>We have an in-house php script =
that processes images. Been running it for years. It forks itself a number =
of times to increase the amount of images we can process per second. =C2=A0=
 13.2 has been running great. When upgrading to 13.3 or 14.0, the php forke=
d processes all end up leveraging the came cpu core, and that slows us waaa=
y down.=C2=A0</div><div><br></div><div>I had a 13.2 userland, and 13.3 kern=
el and the issue doesnt=C2=A0occur.<br></div><div>Using a 13.3 userland and=
 13.3 kernel the issues does occur.=C2=A0 Same with=C2=A0a fresh install of=
 14.0 userland/kernel.=C2=A0</div><div><br></div><div>Leveraging the pkg ph=
p82 from 13.2 land on 13.3 or the 13.3 pkg php82 doesnt&#39; matter, both s=
how the same issue.=C2=A0</div><div><br></div><div>Something in the userlan=
d/libraries in 13.3 apparently restricts the forked php processes from leve=
raging any additional cpu cores.=C2=A0 Any ideas where/what/how/why?=C2=A0<=
/div><div><br></div><div>Thanks,</div><div><br></div><div>-c</div></div>

--000000000000b645e406176c10d0--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPjUTPMB0fUyuc0qOgYGanKVnaTVGx_MnEfhSjtv_9roDt214w>