login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
openbsd-misc
»
2007
»
March
»
22
Re: Saving memory on small machines
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Otto Moerbeek
Subject:
Re: Saving memory on small machines
Date: Thursday, March 22, 2007 - 9:39 am
On Thu, 22 Mar 2007, Kamil Monticolo wrote:
quoted text
> > The OpenBSD kernel is a bit over 5MB. I assume that gets loaded into memory > > and is not swappable, giving me 43MB left, which isn't a lot. > > You can turn off ipv6, altq if not needed, and of course lots of hardware that you don't need also. For example I have a 2 x smaller kernel that GENERIC on my laptop: > $ uname -a > OpenBSD squirrel 4.1 BIRKOFF#0 i386 > $ ls -lh /bsd{,.orig} > -rw-r--r-- 1 root wheel 2.9M Mar 9 00:39 /bsd > -rw-r--r-- 1 root wheel 5.8M Feb 22 13:32 /bsd.orig > > You may also stripe nearly all of your libraries, for example: > > # ls -lhS /usr/lib/libcrypto*a > -r--r--r-- 1 root bin 11.7M Mar 22 13:53 /usr/lib/libcrypto_pic.a > -r--r--r-- 1 root bin 11.6M Mar 22 13:53 /usr/lib/libcrypto_p.a > -r--r--r-- 1 root bin 11.5M Mar 22 13:53 /usr/lib/libcrypto.a > # strip -s /usr/lib/libcrypto*a > # ls -lhS /usr/lib/libcrypto*a > -r--r--r-- 1 root bin 909K Mar 22 13:53 /usr/lib/libcrypto_pic.a > -r--r--r-- 1 root bin 865K Mar 22 13:53 /usr/lib/libcrypto_p.a > -r--r--r-- 1 root bin 835K Mar 22 13:53 /usr/lib/libcrypto.a > > looks fine? Hope this helps. > > Kamil Monticolo aka birkoff
It saves even more space if you do alias strip=rm -Otto
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
Saving memory on small machines
, David Given
, (Thu Mar 22, 4:11 am)
Re: Saving memory on small machines
, RedShift
, (Thu Mar 22, 5:47 am)
Re: Saving memory on small machines
, Kamil Monticolo
, (Thu Mar 22, 5:54 am)
Re: Saving memory on small machines
, Stefan Sperling
, (Thu Mar 22, 6:14 am)
Re: Saving memory on small machines
, Stuart Henderson
, (Thu Mar 22, 6:24 am)
Re: Saving memory on small machines
, David Terrell
, (Thu Mar 22, 6:37 am)
Re: Saving memory on small machines
, Limaunion
, (Thu Mar 22, 6:37 am)
Re: Saving memory on small machines
, Artur Grabowski
, (Thu Mar 22, 9:03 am)
Re: Saving memory on small machines
, Bret Lambert
, (Thu Mar 22, 9:34 am)
Re: Saving memory on small machines
, Otto Moerbeek
, (Thu Mar 22, 9:39 am)
Re: Saving memory on small machines
, Woodchuck
, (Thu Mar 22, 10:56 am)
Re: Saving memory on small machines
, Bob Beck
, (Thu Mar 22, 11:09 am)
Re: Saving memory on small machines
, David Given
, (Thu Mar 22, 11:45 am)
Re: Saving memory on small machines
, Douglas Allan Tutty
, (Thu Mar 22, 12:05 pm)
Re: Saving memory on small machines
, Miod Vallat
, (Thu Mar 22, 12:24 pm)
Re: Saving memory on small machines
, Pedro Martelletto
, (Thu Mar 22, 12:27 pm)
Re: Saving memory on small machines
, Ted Unangst
, (Thu Mar 22, 1:29 pm)
Re: Saving memory on small machines
, David Terrell
, (Thu Mar 22, 2:42 pm)
Re: Saving memory on small machines
, David Given
, (Thu Mar 22, 4:36 pm)
Re: Saving memory on small machines
, Douglas Allan Tutty
, (Thu Mar 22, 5:11 pm)
Re: Saving memory on small machines
, Artur Grabowski
, (Fri Mar 23, 2:12 am)
Re: Saving memory on small machines
, Kamil Monticolo
, (Fri Mar 23, 4:18 am)
Re: Saving memory on small machines
, J.C. Roberts
, (Fri Mar 23, 10:27 am)
Re: Saving memory on small machines
, Matthew R. Dempsky
, (Fri Mar 23, 11:48 am)
Re: Saving memory on small machines
, J.C. Roberts
, (Fri Mar 23, 2:28 pm)
Re: Saving memory on small machines
, Philip Guenther
, (Fri Mar 23, 3:27 pm)
Re: Saving memory on small machines
, J.C. Roberts
, (Fri Mar 23, 6:18 pm)
Re: Saving memory on small machines
, bofh
, (Fri Mar 23, 6:19 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Francis Moreau
Re: Disk geometry from /sys
Rafael J. Wysocki
[Bug #11407] suspend: unable to handle kernel paging request
Christoph Lameter
Re: [bug] SLUB + mm/slab.c boot crash in -rc9
Jeremy Fitzhardinge
Re: [2.6.25] compat VDSO option not disabling
Rafael J. Wysocki
[Bug #11551] Semi-repeatable hard lockup on 2.6.27-rc6
netbsd-tech-kern
:
Manuel Bouyer
Re: freebsd 5.99.41 as XEN3_DOMU
Thomas E. Spanjaard
Re: Bad side effect of "newdirpref"
matthew green
re: Refactoring MI devices in GENERIC and friends
Allen Briggs
caddr_t removal Q
Matthias Buelow
Re: funlink() for fun!
git
:
Pat Thoyts
[PATCH] git-gui: use themed tk widgets with Tk 8.5
Tait
Re: [PATCH] Replace hard-coded path with one from <paths.h>
Frans Pop
'git gc --aggressive' effectively unusable
Stephan Beyer
Re: git sequencer prototype
Lynn Lin
Re: clearcase migration to git
openbsd-misc
:
Robert
disklabel - cylinder rounding
nixlists
Re: Which laptops do the developers use?
admin
Drive a 2009 car from R799p/m
L. V. Lammert
OT, .. but has anyone seen a crontab editor
Darrin Chandler
Re: That whole "Linux stealing our code" thing
linux-activists
:
Tushar D Chandra
ARCNET info wanted ...
Honoo Suzuki n-2423
Q:Disk doubler for linux?
H.J. Lu
Re: Problems w/ SLS and Ultrastor
Thomas Dunbar
Re: olvwm
Daniel Brahneborg
Re: Linux Screen Capture
Colocation donated by:
Syndicate