You are not logged in.

#1 2010-03-24 20:32:01

thehatusa
Member
From: DfG
Registered: 2010-01-19
Posts: 15

How to get less memory usage and cpu usage in an old pc with arch?

hi, i installed archlinux sucessfully after some problems.
but the system use a lot of memory (free said me 184mb) only with irssi, finch, mp3blaster and midori opened and is "slower" than when i used slitaz linux in it, why?
well, the things that i installed in arch are:

xorg + xf86-video-intel
jwm
irssi, finch, mp3blaster, htop.
midori, opera, elinks, links-g, epiphany.
geany, leafpad, go-openoffice, djview4, gnumeric, epdfview
isomaster, inkscape, gpicview, cdrkit, mtpaint.
pcmanfm, emelfm2, hal.
octave, mathematica5, R, wxmaxima,gnuplot.
nrg2iso, lxsplit, dclock.

here is a screenshot:
escrit003.png

the pc have this skills:
800mhz celeron 370
MB gygabite gaw-mm7
192mb ram pc100
30 GB HD ide 5400 rpm

some code now:

 lshw -businfo

WARNING: you should run this program as super-user.
Bus info          Device  Class       Description
=================================================
                          system      Computer
                          bus         Motherboard
                          memory      183MiB System memory
cpu@0                     processor   Celeron (Coppermine)
                          memory      32KiB L1 cache
                          memory      128KiB L2 cache
pci@0000:00:00.0          bridge      82810 GMCH (Graphics Memory Controller Hub)
pci@0000:00:01.0          display     82810 (CGC) Chipset Graphics Controller
pci@0000:00:1e.0          bridge      82801AA PCI Bridge
pci@0000:01:03.0  eth0    network     IC Plus IP100A Integrated 10/100 Ethernet MAC + PHY
pci@0000:00:1f.0          bridge      82801AA ISA Bridge (LPC)
pci@0000:00:1f.1          storage     82801AA IDE Controller
pci@0000:00:1f.2          bus         82801AA USB Controller
pci@0000:00:1f.3          bus         82801AA SMBus Controller
pci@0000:00:1f.5          multimedia  82801AA AC'97 Audio Controller
lspci -v

00:00.0 Host bridge: Intel Corporation 82810 GMCH (Graphics Memory Controller Hub) (rev 03)
        Subsystem: Intel Corporation 82810 GMCH (Graphics Memory Controller Hub)
        Flags: bus master, fast devsel, latency 0
        Kernel driver in use: agpgart-intel
        Kernel modules: intel-agp

00:01.0 VGA compatible controller: Intel Corporation 82810 (CGC) Chipset Graphics Controller (rev 03) (prog-if 00 [VGA controller])
        Subsystem: Giga-byte Technology Device 0200
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 11
        Memory at e0000000 (32-bit, prefetchable) [size=64M]
        Memory at ee000000 (32-bit, non-prefetchable) [size=512K]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: <access denied>

00:1e.0 PCI bridge: Intel Corporation 82801AA PCI Bridge (rev 02) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
        I/O behind bridge: 0000c000-0000cfff
        Memory behind bridge: e7e00000-ebefffff
        Prefetchable memory behind bridge: dfc00000-dfcfffff
        Kernel modules: shpchp

00:1f.0 ISA bridge: Intel Corporation 82801AA ISA Bridge (LPC) (rev 02)
        Flags: bus master, medium devsel, latency 0
        Kernel modules: iTCO_wdt, intel-rng

00:1f.1 IDE interface: Intel Corporation 82801AA IDE Controller (rev 02) (prog-if 80 [Master])
        Subsystem: Intel Corporation 82801AA IDE Controller
        Flags: bus master, medium devsel, latency 0
        [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [size=8]
        [virtual] Memory at 000003f0 (type 3, non-prefetchable) [size=1]
        [virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8]
        [virtual] Memory at 00000370 (type 3, non-prefetchable) [size=1]
        I/O ports at ff00 [size=16]
        Kernel driver in use: ata_piix
        Kernel modules: ata_piix, piix

00:1f.2 USB Controller: Intel Corporation 82801AA USB Controller (rev 02) (prog-if 00 [UHCI])
        Subsystem: Intel Corporation 82801AA USB Controller
        Flags: bus master, medium devsel, latency 0, IRQ 9
        I/O ports at da00 [size=32]
        Kernel driver in use: uhci_hcd
        Kernel modules: uhci-hcd

00:1f.3 SMBus: Intel Corporation 82801AA SMBus Controller (rev 02)
        Subsystem: Intel Corporation 82801AA SMBus Controller
        Flags: medium devsel, IRQ 10
        I/O ports at 04c0 [size=16]
        Kernel driver in use: i801_smbus
        Kernel modules: i2c-i801

00:1f.5 Multimedia audio controller: Intel Corporation 82801AA AC'97 Audio Controller (rev 02)
        Subsystem: Giga-byte Technology Device 2000
        Flags: bus master, medium devsel, latency 0, IRQ 10
        I/O ports at de00 [size=256]
        I/O ports at dc00 [size=64]
        Kernel driver in use: Intel ICH
        Kernel modules: snd-intel8x0

01:03.0 Ethernet controller: Sundance Technology Inc / IC Plus Corp IC Plus IP100A Integrated 10/100 Ethernet MAC + PHY (rev 31)
        Subsystem: Sundance Technology Inc / IC Plus Corp Device 0201
        Flags: bus master, medium devsel, latency 64, IRQ 11
        I/O ports at cc00 [size=128]
        Memory at e8000000 (32-bit, non-prefetchable) [size=512]
        Expansion ROM at dfc00000 [disabled] [size=64K]
        Capabilities: <access denied>
        Kernel driver in use: sundance
        Kernel modules: sundance
lsmod

snd_ac97_codec         85937  1 snd_intel8x0
snd_seq                42628  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          4313  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            33693  0 
ac97_bus                 750  1 snd_ac97_codec
snd_mixer_oss          14810  1 snd_pcm_oss
snd_pcm                57479  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer              16117  2 snd_seq,snd_pcm
sundance               15991  0 
uhci_hcd               19124  0 
snd                    43847  9 snd_seq_oss,snd_intel8x0,snd_ac97_codec,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
mii                     3218  1 sundance
ppdev                   4882  0 
i2c_i801                7122  0 
soundcore               5007  1 snd
iTCO_wdt                7577  0 
ehci_hcd               31594  0 
lp                      6616  0 
sr_mod                 13161  0 
analog                  7939  0 
psmouse                56309  0 
ns558                   1931  0 
parport_pc             27680  1 
shpchp                 26592  0 
intel_agp              23225  1 
button                  3638  0 
thermal                 9326  0 
processor              26494  1 
snd_page_alloc          5809  2 snd_intel8x0,snd_pcm
iTCO_vendor_support     1453  1 iTCO_wdt
gameport                7130  3 analog,ns558
parport                26575  3 ppdev,lp,parport_pc
pcspkr                  1347  0 
usbcore               118921  3 uhci_hcd,ehci_hcd
serio_raw               3620  0 
evdev                   6970  8 
i2c_core               15369  1 i2c_i801
cdrom                  31625  1 sr_mod
pci_hotplug            23492  1 shpchp
agpgart                23331  2 intel_agp
sg                     21079  0 
rtc_cmos                7504  0 
rtc_core               12011  1 rtc_cmos
rtc_lib                 1450  1 rtc_core
ext2                   56463  1 
mbcache                 4278  1 ext2
sd_mod                 24101  3 
pata_acpi               2264  0 
ata_generic             2235  0 
ata_piix               17725  2 
libata                135579  3 pata_acpi,ata_generic,ata_piix
floppy                 47412  0 
scsi_mod               78933  4 sr_mod,sg,sd_mod,libata

i've read i can disable the kernel modules that i don't need to improve the memory usage.
which modules i can disable without "kill my system"?. i don't want SATA, DVD, bluray, infrared, floppys, bluetooth, usb3.0, 3d video card, dial-up-integrated modem, ntfs, 'cause mi old is so old. i want it only for the university.
thanks in advantage for the tips, and sorry if someone can't understand very well that i wanna tell you, english isn't my "mother languaje".

Offline

#2 2010-03-25 02:11:15

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: How to get less memory usage and cpu usage in an old pc with arch?

You've asked a lot of questions in a single post. You can use top/htop/ps to see how much {memory,cpu} each application uses. I assume you have swap space.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#3 2010-03-25 08:50:41

Soumyadeep
Member
From: kolkata,India
Registered: 2009-09-09
Posts: 218

Re: How to get less memory usage and cpu usage in an old pc with arch?

ya, mention ur swap space, and u know its better if the system uses the memory than to leave it free and waste it.

Offline

#4 2010-03-25 17:29:28

thehatusa
Member
From: DfG
Registered: 2010-01-19
Posts: 15

Re: How to get less memory usage and cpu usage in an old pc with arch?

thanks for the answers. yes, i have a 1 gb of swap.
i think i can reduce the memory usage of the system if i dissable the kernel modules that i don't use. but, the question is: what modules is safe to disable to get it?
thanks in advantage

Offline

#5 2010-03-25 18:36:04

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: How to get less memory usage and cpu usage in an old pc with arch?

thehatusa wrote:

question is: what modules is safe to disable to get it?
thanks in advantage

Try using lsmod as a guide.

Offline

Board footer

Powered by FluxBB