Gentoo Archives: gentoo-dev

From: Chris Gianelloni <wolf31o2@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] what to do when an ebuild needs loads of RAM?
Date: Fri, 19 Nov 2004 18:36:01
Message-Id: 1100889370.16897.93.camel@cgianelloni.nuvox.net
In Reply to: Re: [gentoo-dev] what to do when an ebuild needs loads of RAM? by Kito
1 On Fri, 2004-11-19 at 11:56 -0600, Kito wrote:
2 > On Nov 19, 2004, at 11:21 AM, Georgi Georgiev wrote:
3 >
4 > > maillog: 19/11/2004-11:02:23(-0600): Kito types
5 > >> On Nov 19, 2004, at 10:52 AM, Greg KH wrote:
6 > >>> Not true. The sysctl syscall does not require it.
7 > >>
8 > >> % sysctl hw.memsize
9 > >> hw.memsize: 1073741824
10 > >>
11 > >> % ls /proc
12 > >> ls: /proc: No such file or directory
13 > >
14 > > $ /sbin/sysctl hw.memsize
15 > > error: 'hw.memsize' is an unknown key
16 > >
17 > > $ /sbin/sysctl -A 2>/dev/null | grep size
18 > > net.ipv6.route.max_size = 4096
19 > > net.ipv4.route.max_size = 131072
20 > > kernel.random.poolsize = 512
21 >
22 > for darwin systems:
23 >
24 > /sbin/sysctl hw.memsize
25 >
26 > *bsd:
27 > /sbin/sysctl hw.physmem
28 >
29 > for linux.... thats outta my jurisdiction =)
30
31 So again, we're non-portable... heh
32
33 --
34 Chris Gianelloni
35 Release Engineering - Operational/QA Manager
36 Games - Developer
37 Gentoo Linux

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] what to do when an ebuild needs loads of RAM? Ciaran McCreesh <ciaranm@g.o>