MESSAGE
DATE | 2021-01-01 |
FROM | Mithun Bhattacharya
|
SUBJECT | Re: [Hangout - NYLXS] Confused about two development utils [EXT]
|
From hangout-bounces-at-nylxs.com Fri Jan 1 14:02:43 2021 Return-Path: X-Original-To: archive-at-mrbrklyn.com Delivered-To: archive-at-mrbrklyn.com Received: from www2.mrbrklyn.com (www2.mrbrklyn.com [96.57.23.82]) by mrbrklyn.com (Postfix) with ESMTP id A54A6164057; Fri, 1 Jan 2021 14:02:42 -0500 (EST) X-Original-To: hangout-at-www2.mrbrklyn.com Delivered-To: hangout-at-www2.mrbrklyn.com Received: by mrbrklyn.com (Postfix, from userid 1000) id 614F316404B; Fri, 1 Jan 2021 14:02:18 -0500 (EST) Resent-From: Ruben Safir Resent-Date: Fri, 1 Jan 2021 14:02:18 -0500 Resent-Message-ID: <20210101190218.GB17312-at-www2.mrbrklyn.com> Resent-To: hangout-at-mrbrklyn.com X-Original-To: ruben-at-mrbrklyn.com Delivered-To: ruben-at-mrbrklyn.com Received: from mxout1-he-de.apache.org (mxout1-he-de.apache.org [95.216.194.37]) by mrbrklyn.com (Postfix) with ESMTP id A2E68164049 for ; Fri, 1 Jan 2021 11:39:03 -0500 (EST) Received: from mail.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by mxout1-he-de.apache.org (ASF Mail Server at mxout1-he-de.apache.org) with SMTP id 3CD2465015 for ; Fri, 1 Jan 2021 16:39:02 +0000 (UTC) Received: (qmail 85863 invoked by uid 500); 1 Jan 2021 16:39:01 -0000 Mailing-List: contact modperl-help-at-perl.apache.org; run by ezmlm Precedence: bulk Delivered-To: mailing list modperl-at-perl.apache.org Received: (qmail 85852 invoked by uid 99); 1 Jan 2021 16:39:01 -0000 Received: from spamproc1-he-fi.apache.org (HELO spamproc1-he-fi.apache.org) (95.217.134.168) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jan 2021 16:39:01 +0000 Received: from localhost (localhost [127.0.0.1]) by spamproc1-he-fi.apache.org (ASF Mail Server at spamproc1-he-fi.apache.org) with ESMTP id 55E2DC03FA for ; Fri, 1 Jan 2021 16:39:00 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamproc1-he-fi.apache.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.2, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamproc1-he-fi.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-he-de.apache.org ([116.203.227.195]) by localhost (spamproc1-he-fi.apache.org [95.217.134.168]) (amavisd-new, port 10024) with ESMTP id U_8KIHq8XOPM for ; Fri, 1 Jan 2021 16:38:59 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2607:f8b0:4864:20::932; helo=mail-ua1-x932.google.com; envelope-from=mithnb-at-gmail.com; receiver= Received: from mail-ua1-x932.google.com (mail-ua1-x932.google.com [IPv6:2607:f8b0:4864:20::932]) by mx1-he-de.apache.org (ASF Mail Server at mx1-he-de.apache.org) with ESMTPS id D6FE37FBC4 for ; Fri, 1 Jan 2021 16:38:58 +0000 (UTC) Received: by mail-ua1-x932.google.com with SMTP id y21so7003918uag.2 for ; Fri, 01 Jan 2021 08:38:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=f2k/751G9K7lE2A4YCgGDf5N5gtNTnOEboBvQsOvpNc=; b=k+0tzTHLocqH0AfSQilla6vrLvhdqk471Q3qDZCGFsB58EC+K3c/DDbBloNlP7FA2c OmmEoNG8I9v7fw471/3ndJME4ZuFfNVXFGKcx1swQKbOT7tznc7Hd2rAo+Ez2OlQcwEH eAn8vQA+C+yD8okoqGXOO4OuICucMHdNWbFNmOjwH+UeanxFTwImo0DcOHoljOi+1cet Y0dTyELzNiE/Bf266hfNVGjEYkuopZJhPotcsQqklQwG+EvUl6Z0fnTfQYTp2yBdJ//f bqpNudFma78rmJTjqbCnbVUMLdTM62Gus90ynuK5PsV+s8XgFC74f6/0waPi/rmOSvyc hdCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=f2k/751G9K7lE2A4YCgGDf5N5gtNTnOEboBvQsOvpNc=; b=Sx2RsCZyTGrEz12zzL4MZIH5zL2lwtTXg2Jy6GrklFfNRdGbPRC4kHKUialSv5koxf H5DaGlbvqLKoOEJkZpeBPn8u2D0KfHLpEt3MazgxTIBOni2VkRRolCoIwjS83FmhMqWO XZiy5zIllQEaYiK1MmzmWYi1i9igp2EA9VTQnTtotH6T6tBIEz9Vu/NMFK0Kz1WVjctO 9TzZ3mWyx/PDB98bo6avGYKVvPXOu1i0mQ66ZmvicgM8yLVhDf5jQeOVqTqgAKPfCoHS Yr/lPx9hPu1wG7AOMJjJ/JRLOaw1n6W71CPNdp3JwZNk9OorfAkiFEvf5PJwYeeQLQGe svbw== X-Gm-Message-State: AOAM532qpoYv69Bldg+NSfSQjewEvNt+kfOdC4GOCyKOZFsKJ3jRnAUo oiGJkabK1SIlmMWhMOAhY/p9UjrGMdNunPB9f4Sl7AiY X-Google-Smtp-Source: ABdhPJzNCi9vWpaL6UAw6Ay1ATiq9pM6rp/C+MPTErvmHDeiLzzDsg0tIkv06GeovP068qbUCIP7X4HWHFDA5yrpG70= X-Received: by 2002:a9f:2d8c:: with SMTP id v12mr37236266uaj.28.1609519131045; Fri, 01 Jan 2021 08:38:51 -0800 (PST) MIME-Version: 1.0 References: <971cc41d-b30e-7fc1-25a2-4a63f028321d-at-ice-sa.com> <90ae0836-d487-926c-89e4-696a46fae57d-at-ice-sa.com> <335e0e3cca2e4dd3aeb5f91d83ea08c0-at-sanger.ac.uk> <20210101160738.GL15013-at-www2.mrbrklyn.com> In-Reply-To: <20210101160738.GL15013-at-www2.mrbrklyn.com> From: Mithun Bhattacharya Date: Fri, 1 Jan 2021 10:38:39 -0600 Message-ID: To: mod_perl list Subject: Re: [Hangout - NYLXS] Confused about two development utils [EXT] X-BeenThere: hangout-at-nylxs.com X-Mailman-Version: 2.1.30rc1 List-Id: NYLXS Tech Talk and Politics List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0451009921==" Errors-To: hangout-bounces-at-nylxs.com Sender: "Hangout"
--===============0451009921== Content-Type: multipart/alternative; boundary="00000000000010b26205b7d96098"
--00000000000010b26205b7d96098 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Preload of what doesnt work ?
On Fri, Jan 1, 2021 at 10:08 AM Ruben Safir wrote:
> > > > This isn=E2=80=99t quite true - if you load modules before the process = forks > then they can cleverly share the same parts of memory. It is useful to be > able to "pre-load" core functionality which is used across all functions > {this is the case in Linux anyway}. It also speeds up child process > generation as the modules are already in memory and converted to byte cod= e. > > > > One of the great advantages of mod_perl is Apache2::SizeLimit which can > blow away large child process - and then if needed create new ones. This = is > not the case with some of the FCGI solutions as the individual processes > can grow if there is a memory leak or a request that retrieves a large > amount of content (even if not served), but perl can't give the memory > back. So FCGI processes only get bigger and bigger and eventually blow up > memory (or hit swap first) > > > > > The OS uses shared memory, and this is for any kind of forks. And FWIW, > in GNU/Linux the difference between processes and threads is nominal. > Everythings is light weight processes. > > This is an OK dsicussion of it > https://www.thegeekstuff.com/2013/11/linux-process-and-threads/ > > BTW - there is caching memory throughout the system from the hard drive, > filesystem, in the OS, and in Perl. > > It would be NICE if the mod_perl code was FIXED so that it would > compile with preload correctly out of the box. > > > > > > > > > > > > -- > > The Wellcome Sanger Institute is operated by Genome Research > > Limited, a charity registered in England with number 1021457 and a > > company registered in England with number 2742969, whose registered > > office is 215 Euston Road, London, NW1 2BE. > > -- > So many immigrant groups have swept through our town > that Brooklyn, like Atlantis, reaches mythological > proportions in the mind of the world - RI Safir 1998 > http://www.mrbrklyn.com > > DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002 > http://www.nylxs.com - Leadership Development in Free Software > http://www2.mrbrklyn.com/resources - Unpublished Archive > http://www.coinhangout.com - coins! > http://www.brooklyn-living.com > > Being so tracked is for FARM ANIMALS and extermination camps, > but incompatible with living as a free human being. -RI Safir 2013 > >
--00000000000010b26205b7d96098 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Preload of what doesnt work ?
_quote"> 0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">= >
> This isn=E2=80=99t quite true - if you load modules before the process= forks then they can cleverly share the same parts of memory. It is useful = to be able to "pre-load" core functionality which is used across = all functions {this is the case in Linux anyway}. It also speeds up child p= rocess generation as the modules are already in memory and converted to byt= e code.
>
> One of the great advantages of mod_perl is Apache2::SizeLimit which ca= n blow away large child process - and then if needed create new ones. This = is not the case with some of the FCGI solutions as the individual processes= can grow if there is a memory leak or a request that retrieves a large amo= unt of content (even if not served), but perl can't give the memory bac= k. So FCGI processes only get bigger and bigger and eventually blow up memo= ry (or hit swap first)
>
The OS uses shared memory, and this is for any kind of forks.=C2=A0 And FWI= W,
in GNU/Linux the difference between processes and threads is nominal.=C2=A0=
Everythings is light weight processes.
This is an OK dsicussion of it
rel=3D"noreferrer" target=3D"_blank">https://www.thegeekstuff.com/2013/11/= linux-process-and-threads/
BTW - there is caching memory throughout the system from the hard drive, > filesystem, in the OS, and in Perl.
It would be NICE if the mod_perl code was FIXED so that it would
compile with preload correctly out of the box.
>
>
>
>
> --
>=C2=A0 The Wellcome Sanger Institute is operated by Genome Research > >=C2=A0 Limited, a charity registered in England with number 1021457 and= a
>=C2=A0 company registered in England with number 2742969, whose registe= red
>=C2=A0 office is 215 Euston Road, London, NW1 2BE.
--
So many immigrant groups have swept through our town
that Brooklyn, like Atlantis, reaches mythological
proportions in the mind of the world - RI Safir 1998
ht= tp://www.mrbrklyn.com
DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
http:= //www.nylxs.com - Leadership Development in Free Software
"_blank">http://www2.mrbrklyn.com/resources - Unpublished Archive
>http://www.coinhangout.com - coins!
ank">http://www.brooklyn-living.com
Being so tracked is for FARM ANIMALS and extermination camps,
but incompatible with living as a free human being. -RI Safir 2013
--00000000000010b26205b7d96098--
--===============0451009921== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline
_______________________________________________ Hangout mailing list Hangout-at-nylxs.com http://lists.mrbrklyn.com/mailman/listinfo/hangout
--===============0451009921==--
--===============0451009921== Content-Type: multipart/alternative; boundary="00000000000010b26205b7d96098"
--00000000000010b26205b7d96098 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Preload of what doesnt work ?
On Fri, Jan 1, 2021 at 10:08 AM Ruben Safir wrote:
> > > > This isn=E2=80=99t quite true - if you load modules before the process = forks > then they can cleverly share the same parts of memory. It is useful to be > able to "pre-load" core functionality which is used across all functions > {this is the case in Linux anyway}. It also speeds up child process > generation as the modules are already in memory and converted to byte cod= e. > > > > One of the great advantages of mod_perl is Apache2::SizeLimit which can > blow away large child process - and then if needed create new ones. This = is > not the case with some of the FCGI solutions as the individual processes > can grow if there is a memory leak or a request that retrieves a large > amount of content (even if not served), but perl can't give the memory > back. So FCGI processes only get bigger and bigger and eventually blow up > memory (or hit swap first) > > > > > The OS uses shared memory, and this is for any kind of forks. And FWIW, > in GNU/Linux the difference between processes and threads is nominal. > Everythings is light weight processes. > > This is an OK dsicussion of it > https://www.thegeekstuff.com/2013/11/linux-process-and-threads/ > > BTW - there is caching memory throughout the system from the hard drive, > filesystem, in the OS, and in Perl. > > It would be NICE if the mod_perl code was FIXED so that it would > compile with preload correctly out of the box. > > > > > > > > > > > > -- > > The Wellcome Sanger Institute is operated by Genome Research > > Limited, a charity registered in England with number 1021457 and a > > company registered in England with number 2742969, whose registered > > office is 215 Euston Road, London, NW1 2BE. > > -- > So many immigrant groups have swept through our town > that Brooklyn, like Atlantis, reaches mythological > proportions in the mind of the world - RI Safir 1998 > http://www.mrbrklyn.com > > DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002 > http://www.nylxs.com - Leadership Development in Free Software > http://www2.mrbrklyn.com/resources - Unpublished Archive > http://www.coinhangout.com - coins! > http://www.brooklyn-living.com > > Being so tracked is for FARM ANIMALS and extermination camps, > but incompatible with living as a free human being. -RI Safir 2013 > >
--00000000000010b26205b7d96098 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Preload of what doesnt work ?
_quote"> 0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">= >
> This isn=E2=80=99t quite true - if you load modules before the process= forks then they can cleverly share the same parts of memory. It is useful = to be able to "pre-load" core functionality which is used across = all functions {this is the case in Linux anyway}. It also speeds up child p= rocess generation as the modules are already in memory and converted to byt= e code.
>
> One of the great advantages of mod_perl is Apache2::SizeLimit which ca= n blow away large child process - and then if needed create new ones. This = is not the case with some of the FCGI solutions as the individual processes= can grow if there is a memory leak or a request that retrieves a large amo= unt of content (even if not served), but perl can't give the memory bac= k. So FCGI processes only get bigger and bigger and eventually blow up memo= ry (or hit swap first)
>
The OS uses shared memory, and this is for any kind of forks.=C2=A0 And FWI= W,
in GNU/Linux the difference between processes and threads is nominal.=C2=A0=
Everythings is light weight processes.
This is an OK dsicussion of it
rel=3D"noreferrer" target=3D"_blank">https://www.thegeekstuff.com/2013/11/= linux-process-and-threads/
BTW - there is caching memory throughout the system from the hard drive, > filesystem, in the OS, and in Perl.
It would be NICE if the mod_perl code was FIXED so that it would
compile with preload correctly out of the box.
>
>
>
>
> --
>=C2=A0 The Wellcome Sanger Institute is operated by Genome Research > >=C2=A0 Limited, a charity registered in England with number 1021457 and= a
>=C2=A0 company registered in England with number 2742969, whose registe= red
>=C2=A0 office is 215 Euston Road, London, NW1 2BE.
--
So many immigrant groups have swept through our town
that Brooklyn, like Atlantis, reaches mythological
proportions in the mind of the world - RI Safir 1998
ht= tp://www.mrbrklyn.com
DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
http:= //www.nylxs.com - Leadership Development in Free Software
"_blank">http://www2.mrbrklyn.com/resources - Unpublished Archive
>http://www.coinhangout.com - coins!
ank">http://www.brooklyn-living.com
Being so tracked is for FARM ANIMALS and extermination camps,
but incompatible with living as a free human being. -RI Safir 2013
--00000000000010b26205b7d96098--
--===============0451009921== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline
_______________________________________________ Hangout mailing list Hangout-at-nylxs.com http://lists.mrbrklyn.com/mailman/listinfo/hangout
--===============0451009921==--
|
|