From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernhard Bitsch To: development@lists.ipfire.org Subject: Re: Merge Window Closing Announcement for Core Update 127 Date: Mon, 14 Jan 2019 14:32:27 +0100 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7005879506000693482==" List-Id: --===============7005879506000693482== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi, > Gesendet: Montag, 14. Januar 2019 um 11:43 Uhr > Von: "Michael Tremer" > An: "Bernhard Bitsch" > Cc: "IPFire: Development-List" > Betreff: Re: Merge Window Closing Announcement for Core Update 127 > > Hello, >=20 > > On 13 Jan 2019, at 14:24, Bernhard Bitsch wrot= e: > >=20 > >=20 > >=20 > >> Gesendet: Sonntag, 13. Januar 2019 um 13:43 Uhr > >> Von: "Matthias Fischer" > >> An: "Michael Tremer" > >> Cc: "IPFire: Development-List" > >> Betreff: Re: Merge Window Closing Announcement for Core Update 127 > >>=20 > >> Hi, > >>=20 > >> On 13.01.2019 13:14, Michael Tremer wrote: > >>> I sent squid thousands of requests with ab (Apache Benchmark) and that = worked fine with only one redirector. > >>=20 > >> Thanks for the feedback! Merged. ;-) > >>=20 > >>=20 > >=20 > > Nevertheless it's worth reasoning about multiprocessing ( #redirectors = =3D #processors ) versus multitasking ( #redirectors =3D #task needed by the = environment ). > > Even with only one processor it is possible to serve multiple requests. U= sing wait phases for other processes is a basic feature of multitasking. >=20 > This is not true for the redirectors though. >=20 > Our version of squidGuard takes only one request at a time. While processin= g that, it performs a database lookup (which is a btree) which is held in mem= ory. So at no time it is reading anything from disk which would allow the ker= nel to interrupt the process and wait until the hard drive has responded. >=20 > Therefore it does not make any sense to run more than one process per CPU c= ore. > But multitasking isn't accomplished by I/O-waits only. Task switches occur th= rough time slicing and signals also. =20 > I guess update accelerator might suffer a little bit in the instance that i= t finds a match. Squidclamav is a different thing. It makes absolutely no sen= se to use that any more. >=20 > -Michael >=20 > > - Bernhard ( aka BeBiMa ) >=20 >=20 - Bernhard --===============7005879506000693482==--