Groups | Search | Server Info | Login | Register
Groups > perl.perl5.porters > #98633
| Newsgroups | perl.perl5.porters |
|---|---|
| Path | csiph.com!1.us.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!nntp.perl.org |
| Return-Path | <perl5porters@jubileegroup.co.uk> |
| Mailing-List | contact perl5-porters-help@perl.org; run by ezmlm |
| Delivered-To | mailing list perl5-porters@perl.org |
| Received | (qmail 4389 invoked from network); 14 Nov 2023 12:28:15 -0000 |
| Received | from xx1.develooper.com (147.75.38.233) by x6.develooper.com with SMTP; 14 Nov 2023 12:28:15 -0000 |
| Received | from postfix-inbound-v2-3.inbound.mailchannels.net (inbound-egress-6.mailchannels.net [199.10.31.238]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by xx1.develooper.com (Postfix) with ESMTPS id D82AC7C195 for <perl5-porters@perl.org>; Tue, 14 Nov 2023 04:28:14 -0800 (PST) |
| Received | from inbound-trex-3 (unknown [127.0.0.6]) by postfix-inbound-v2-3.inbound.mailchannels.net (Postfix) with ESMTP id D523D9C09C0 for <perl5-porters@perl.org>; Tue, 14 Nov 2023 12:28:13 +0000 (UTC) |
| ARC-Seal | i=1; s=arc-2022; d=mailchannels.net; t=1699964892; a=rsa-sha256; cv=none; b=wULvvx/I7oRWpyf6GsB5LuQvVF4+H+cPFZ6kpYPT0NPXLjR9N5n7B3NrF/6dgQH/iIXmdl rWXGYn0+SpTY4iWERsaaR0j08C8IVchtnSnM59TbMiSJwk4HHWD4/5lbu5LCWEwHGxOO4P 4+NWnETO//E9nnwZpoULs04eP7gtJJQsioCF90ejYw+l6+gq2XoUTIzQ0SwnY2X7zcMOCH c7UpAw6v8jy9n2bbWIlDMl0jKQdA0bAhjBy0ogdGakXlkBBstyTXehSiL62uX62Y/OPSge +5OW4ZYip0ElkxOcfUpa/EDHHuHoCkXJWJjJKFpehcjzttU+wPqSNTqB1Hyfag== |
| ARC-Message-Signature | i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1699964892; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references:dkim-signature; bh=ihfuEBxb4nMO0Gy9+5FeZvR9QwH9l+Pto7gR0QHyGtg=; b=34GjXNIgjMGJEgnCe/DSXp6AKfNdKCjpA+UGFf/VXh+qhqHOp2jvnR9MPAvsOgpdfIz1Aq T7nlc1bEvRHFOuyhQaVd59izihCnF1y95OG3mUSa7+60Xrc86JvrzcgJLOFnIsiw6/pvCx xvuLZB/XQ8S3G3o+T507OZNaYXxO2rW0mRpa1ERT5jKvJZTQgPjQjowuALaf1hO9wXpjBh nT11mfQbYMdsNKNEqhU5mryoDIPQNI5k3NWjffGskLMSfUEgzAohzL/sXannn8fAG8qkpn eOf5bsKgZl7o9Wsxb3MchKAXzs/OKs50Tk1nXT2bH90p5tHl5TeiplyaY/RbpQ== |
| ARC-Authentication-Results | i=1; inbound-rspamd-575ff6f6c8-qnlkx; none |
| X-Message-ID | lfSiKSlZYVfU0iMHtq1erHI1 |
| Received | from mail.jubileegroup.co.uk (host-83-67-166-33.static.as9105.net [83.67.166.33]) by 100.120.194.142 (trex/6.9.2); Tue, 14 Nov 2023 12:28:13 +0000 |
| Authentication-Results | inbound.mailchannels.net; spf=pass smtp.mailfrom=perl5porters@jubileegroup.co.uk; dkim=temperror header.d=jubileegroup.co.uk; dmarc=pass (policy=none; pct=100; status=pass); arc=none |
| Received-SPF | pass (dmarc-service-54c45dcbc4-z6pnf: domain of jubileegroup.co.uk designates 83.67.166.33 as permitted sender) client-ip=83.67.166.33; envelope-from=perl5porters@jubileegroup.co.uk; helo=mail.jubileegroup.co.uk; |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d= jubileegroup.co.uk; h=date:from:to:cc:subject:in-reply-to :message-id:references:mime-version:content-type; s=uk; bh=ihfuE Bxb4nMO0Gy9+5FeZvR9QwH9l+Pto7gR0QHyGtg=; b=kfwjGazcV8043LCwEv7LD 6+vX2GYQtggwKg8BeFBdxecMe41niRPRMcyznZJEs+kjpRSIEAdJxgbcXN85ig7q x8hAR0h7wiHecW+ZRlzg+rgAHT8ouN0Xj0O0DITs3DHGFQXxEcsK6lX5Fk3UIIHS ge3I5NZ2wmE/9KJCJ/uHCrX/+K5vxF9x7bDAbXcAvdTEbdmfbBzFJMpWknRNtHUM LxleZmYi2PY4YFASDONPaIRYRC8rkIO5UxAYtXlCxb1pu4yBaETL491HBipU39d0 Wt/cRyXkOC3dMbQDBAXsLJI2ZjSgrLPAxQBuGZWgH7LG2Ch+8bXAAVZulT/7vLz+ g== |
| Received | from piplus.local.jubileegroup.co.uk (piplus.local.jubileegroup.co.uk [192.168.44.5]) by mail6.jubileegroup.co.uk (8.16.0.48/8.15.2/Debian-14~deb10u1) with ESMTPS id 3AECRuV7001817 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Tue, 14 Nov 2023 12:28:00 GMT |
| Date | Tue, 14 Nov 2023 12:27:56 +0000 (GMT) |
| To | "Paul \"LeoNerd\" Evans" <leonerd@leonerd.org.uk> |
| cc | Perl5 Porters <perl5-porters@perl.org> |
| Subject | Re: `cpan` unusable on small-RAM machines |
| In-Reply-To | <20231113221408.7420a400@shy.leonerd.org.uk> |
| Message-ID | <c433a8b8-5a81-8d-63ca-25bd8ed5846@jubileegroup.co.uk> (permalink) |
| References | <20231113221408.7420a400@shy.leonerd.org.uk> |
| MIME-Version | 1.0 |
| Content-Type | text/plain; format=flowed; charset=US-ASCII |
| X-AS-Number | AS0 ([] [--] [192.168.44.5]) |
| X-Greylist-Delay | WHITELISTED Local IP, transport not delayed by extensible-milter-7.178e |
| Approved | news@nntp.perl.org |
| From | perl5porters@jubileegroup.co.uk ("G.W. Haywood") |
| Xref | csiph.com perl.perl5.porters:98633 |
Show key headers only | View raw
Hi there, Well, somebody cares. :) On Mon, 13 Nov 2023, Paul "LeoNerd" Evans wrote: > I have a Raspberry Pi Zero. It has 512MiB of RAM. Hardly small even by > modern standards. The `cpan` command is basically useless on it. I agree that half a gig of RAM should be enough to do almost anything but it seems the world is no longer really interested in efficiency. I used to serve all the computing needs of a small business with just a 5MHz 8086 box, with 768kiB of RAM and a 10MB hard disc. Nowadays, the initrd wouldn't fit on that disc. But I'm afraid I can't agree that 512MiB of RAM is 'hardly small' by modern standards. If you'd said that it ought to be enough to install a Perl module I'd agree. If you'd said that it ought to be enough to run a browser (after all when I was Compatibility King at Glendon Ave. back in 2000, we had 32Mbytes of RAM if we were lucky but managed to run any existing browser) I'd say, "Not any more! I can't even run a browser reliably on a 1GiB Pi". 4GiB is *almost* enough. To avoid problems, I find 8GiB is better. At the moment. We use 512MiB Zeros here just to run the odd camera. I think they're a fiver apiece. Having said that, I can't remember the last time I used cpan.pm to install anything. I usually look for a distro package and use that. I think once you start a cpan shell you're off the beaten track, and you're supposed to manage all by yourself. > In more detail: I cannot install anything with the `cpan`. It gets > OOM-killed. The OOM killer doesn't kill processes because there isn't enough RAM. It kills them because there isn't enough *remaining* RAM. It might or it might not be cpan's fault that your RAM is full, but wouldn't it be easier just to tune the OOM killer for the process? On one of my Pis I had to do that for - wait for it - the NFS daemon. I suppose swap would be too painful. Maybe this should be mentioned in the docs. -- 73, Ged.
Back to perl.perl5.porters | Previous | Next — Previous in thread | Next in thread | Find similar
`cpan` unusable on small-RAM machines leonerd@leonerd.org.uk ("Paul \"LeoNerd\" Evans") - 2023-11-13 22:14 +0000
Re: `cpan` unusable on small-RAM machines perl5porters@jubileegroup.co.uk ("G.W. Haywood") - 2023-11-14 12:27 +0000
Re: `cpan` unusable on small-RAM machines leonerd@leonerd.org.uk ("Paul \"LeoNerd\" Evans") - 2023-11-14 14:17 +0000
csiph-web