View Single Post
  #1   (View Single Post)  
Old 15th April 2012
raindog308 raindog308 is offline
Fdisk Soldier
 
Join Date: Sep 2011
Posts: 67
Default How much memory can I save by configging a kernel?

I'm running OpenBSD 5.0 in a KVM VPS. The VPS has 128MB of memory.

I'd like to squeeze as much RAM out of the kernel as possible to free memory. I've already turned off services I don't use.

I'm wondering if I'm wasting my time or if I would be able to actually recover a usable amount. If I'm likely to free 50K, I won't bother. If it might free 5MB, I'll give it a shot.

The VPS is only using one NIC, for example, has no audio, etc.


Code:
OpenBSD 5.0 (GENERIC) #43: Wed Aug 17 10:10:52 MDT 2011
    deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: QEMU Virtual CPU version (cpu64-rhel6) ("GenuineIntel" 686-class) 3.40 GHz
cpu0: FPU,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,MTRR,PGE,MCA,CMOV,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,CX16
real mem  = 133742592 (127MB)
avail mem = 121569280 (115MB)
Reply With Quote