Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Feb 2018 11:30:32 -0700
From:      Ian Lepore <ian@freebsd.org>
To:        Eugene Grosbein <eugen@grosbein.net>, Ask =?ISO-8859-1?Q?Bj=F8rn?= Hansen <ask@develooper.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: FreeBSD on 64MB memory
Message-ID:  <1518460232.94819.25.camel@freebsd.org>
In-Reply-To: <5A81D72A.7020408@grosbein.net>
References:  <5FB97479-C49D-4C6E-8416-015ECA656C14@develooper.com> <5A8123CE.9050609@grosbein.net> <C2042F56-2EB7-47B9-92C5-52DA21CA3132@develooper.com> <5A81D72A.7020408@grosbein.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2018-02-13 at 01:04 +0700, Eugene Grosbein wrote:
> 13.02.2018 0:38, Ask Bj¸rn Hansen wrote:
> 
> > 
> > > 
> > > > 
> > > > I have an old Soekris system with 64MB memory that I upgraded from 10.3 to 11.1 recently. Since then it˙s started hanging every few days.
> > > Please show output of commands:
> > > 
> > > grep memory /var/run/dmesg.boot
> > real memory  = 67108864 (64 MB)
> > avail memory = 42098688 (40 MB)
> > 
> > The 24MB are for the kernel?  I wonder my 11.1 kernel is less discriminating with what I compiled in...
> You should be running custom kernel with absolute minimum.
> For example, use "options NO_SWAPPING" to compile out swapping code if your system
> cannot have any swap area.
> 
> > 
> > > 
> > > top -ores -d1
> > Shortly after boot:
> > 
> > last pid:  1008;  load averages:  0.57,  0.62,  0.53    up 0+00:19:31  06:24:50
> > 8 processes:   1 running, 7 sleeping
> > CPU:     % user,     % nice,     % system,     % interrupt,     % idle
> > Mem: 9084K Active, 3644K Inact, 29M Wired, 4862K Buf, 492K Free
> > Swap:
> > 
> >   PID USERNAME  THR PRI NICE   SIZE    RES STATE    TIME    WCPU COMMAND
> >   911 root        1  22    0  8816K  8844K select   0:39   4.20% ntpd
> Your Soekris system can live without bloated ntpd, use ntpdate or try sntp
> to periodically check your clock with cron, unless you need to re-distribute
> NTP to your LAN.
> 

Heh.  I think 1) you don't realize you're saying "you don't need ntpd"
to, and 2) you didn't notice the hostname of the system in some of the
debugging output (ntp1.us.grundclock.com).  :)

24MB physmem gone before the kernel even starts seems a little much.  I
wonder if some amount of that is being eaten up by a video frame buffer
that maybe isn't needed on a headless system?

-- Ian




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