Elektroda.pl
Elektroda.pl
X
Proszę, dodaj wyjątek dla www.elektroda.pl do Adblock.
Dzięki temu, że oglądasz reklamy, wspierasz portal i użytkowników.

Fedora Core 4 i brak RAM. Dlaczego tak wolno działa?

19 Gru 2006 19:25 1009 2
  • Poziom 12  
    Witam zacznę od konfiguracji sprzętowej mam celerona 2,2GHz 256RAM Dysk sygate baracuda 7200 karta grafiki GeForce MX 4400 128MB RAM
    System to FC 4 środowisko graficzne KDE system chwilkę po aktualizacji (yum update) wyłączone dość sporo usług (reszty boję się ruszać jestem początkujący). Mimo to system chodzi strasznie powoli wolnej pamięci mam max 30MB reszta jest zajęta.
    Co mam z tym robić przecież powinno całkiem ładnie to śmigać
    a polecenie "top" wywala :
    Code:

     top - 18:42:34 up 51 min,  3 users,  load average: 0.27, 0.33, 0.35
    Tasks:  87 total,   1 running,  85 sleeping,   0 stopped,   1 zombie
    Cpu(s):  5.6% us,  0.7% sy,  0.0% ni, 93.4% id,  0.0% wa,  0.3% hi,  0.0% si
    Mem:    255612k total,   250936k used,     4676k free,     9972k buffers
    Swap:        0k total,        0k used,        0k free,   107260k cached

      PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
     2388 root      15   0  172m  26m 3072 S  3.0 10.5   1:35.07 X
     2613 makary    15   0 33404  19m 7648 S  1.7  7.8   0:11.10 skype
     2789 makary    15   0 33636  14m  11m S  1.0  5.8   0:03.41 konsole
     2835 root      16   0  2024 1020  804 R  0.7  0.4   0:02.99 top
     2554 makary    15   0 35132  15m  12m S  0.3  6.4   0:12.18 kicker
     2617 makary    16   0  4736  972  832 S  0.3  0.4   0:07.92 autorun
        1 root      15   0  1744  580  500 S  0.0  0.2   0:01.26 init
        2 root      34  19     0    0    0 S  0.0  0.0   0:00.00 ksoftirqd/0
        3 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 watchdog/0
        4 root      10  -5     0    0    0 S  0.0  0.0   0:00.03 events/0
        5 root      10  -5     0    0    0 S  0.0  0.0   0:00.02 khelper
        6 root      11  -5     0    0    0 S  0.0  0.0   0:00.00 kthread
       10 root      10  -5     0    0    0 S  0.0  0.0   0:00.03 kblockd/0
       11 root      20  -5     0    0    0 S  0.0  0.0   0:00.00 kacpid
      258 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 khubd
      262 root      10  -5     0    0    0 S  0.0  0.0   0:00.01 kseriod
      321 root      15   0     0    0    0 S  0.0  0.0   0:00.00 pdflush
      322 root      15   0     0    0    0 S  0.0  0.0   0:00.01 pdflush
      323 root      15   0     0    0    0 S  0.0  0.0   0:00.04 kswapd0
      324 root      19  -5     0    0    0 S  0.0  0.0   0:00.00 aio/0
      490 root      11  -5     0    0    0 S  0.0  0.0   0:00.00 kpsmoused
      505 root      10  -5     0    0    0 S  0.0  0.0   0:00.06 kjournald
      707 root      11  -4  1648  436  332 S  0.0  0.2   0:00.44 udevd
     1527 root      11  -5     0    0    0 S  0.0  0.0   0:00.00 kjournald
     1776 root      15   0  1612  564  472 S  0.0  0.2   0:00.01 syslogd
     1778 root      15   0  1564  396  328 S  0.0  0.2   0:00.00 klogd
     1788 rpc       25   0  1688  528  440 S  0.0  0.2   0:00.00 portmap
     1797 root      12  -3 11944  592  460 S  0.0  0.2   0:00.00 auditd
     1799 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 kauditd
     1830 root      15   0  2736  440  352 S  0.0  0.2   0:00.02 nifd
     1858 nobody    25   0 13432  948  524 S  0.0  0.4   0:00.00 mDNSResponder 

    Wartości te są mniej więcej stałe i niezmienne z małymi wahaniami

    natomiast polecenie "prelink -a"

    Code:

    prelink: /usr/lib/mozilla-1.7.13/regchrome: Could not find one of the dependencies
    prelink: /usr/lib/mozilla-1.7.13/mozilla-bin: Could not find one of the dependencies
    prelink: /usr/lib/firefox-1.0.8/firefox-bin: Could not find one of the dependencies
    prelink: /usr/lib/firefox-1.0.8/regchrome: Could not find one of the dependencies
    prelink: /usr/lib/firefox-1.0.8/xpcshell: Could not find one of the dependencies
    prelink: /usr/lib/firefox-1.0.8/TestGtkEmbed: Could not find one of the dependencies
    prelink: /usr/lib/firefox-1.0.4/firefox-bin: Could not find one of the dependencies
    prelink: /usr/lib/firefox-1.0.4/regchrome: Could not find one of the dependencies
    prelink: /usr/lib/firefox-1.0.4/xpcshell: Could not find one of the dependencies
    prelink: /usr/lib/firefox-1.0.4/TestGtkEmbed: Could not find one of the dependencies
    prelink: /usr/libexec/xscreensaver/sballs: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/queens: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/sierpinski3d: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/bin/mplayer: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/carousel: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/stairs: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/pinion: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/circuit: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/bouncingcow: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/glsnake: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/endgame: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/X11R6/bin/xdriinfo: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/antinspect: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/bin/kwave.kss: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/spheremonics: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/molecule: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/bin/kdesktop_lock: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/superquadrics: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/dangerball: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/bubble3d: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/bin/keuphoria.kss: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/bin/tcat: Cannot prelink against non-PIC shared library /usr/lib/libgsm.so.1
    prelink: /usr/libexec/xscreensaver/boing: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/providence: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/polyhedra: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/glslideshow: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/gleidescope: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/bin/xscreensaver-gl-helper: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/cubestorm: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/glknots: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/jigglypuff: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/bin/ffserver: Cannot prelink against non-PIC shared library /usr/lib/libavformat.so.50
    prelink: /usr/libexec/xscreensaver/flurry: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/boxed: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/atlantis: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/moebius: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/rubik: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/sproingies: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/lament: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/starwars: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/flipflop: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/gears: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/X11R6/bin/glxgears: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/klein: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/glforestfire: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/flyingtoasters: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/fliptext: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/gflux: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/X11R6/bin/glxinfo: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/engine: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/blinkbox: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/bin/ksolarwinds.kss: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/bin/kfountain.kss: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/bin/kpendulum.kss: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/glmatrix: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/noof: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/cubenetic: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/antspotlight: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/bin/tiffgt: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/bin/ffmpeg: Cannot prelink against non-PIC shared library /usr/lib/libavformat.so.50
    prelink: /usr/bin/ffplay: Cannot prelink against non-PIC shared library /usr/lib/libavformat.so.50
    prelink: /usr/libexec/xscreensaver/glblur: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/cage: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/lavalite: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/blocktube: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/flipscreen3d: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/bin/kflux.kss: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/stonerview: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/polytopes: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/atunnel: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/hypertorus: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/bin/kgravity.kss: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/glplanet: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/menger: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/bin/kfiresaver.kss: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/pulsar: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/bin/kspace.kss: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1
    prelink: /usr/libexec/xscreensaver/mirrorblob: Cannot prelink against non-PIC shared library /usr/X11R6/lib/libGL.so.1


    I co ja mam z tym zrobić coby to ładnie śmigało
    A i jeszcze jedno dlaczego po każdym restarcie muszę odnowa montować partycję swap (swapon /dev/hda3) mimo że jest odpowiedni wpis w fstab ??

    Pozdrawiam życzę udanych spokojnych i wesołych świąt i szalonego sylwestra
    Pozdrawiam Makary
  • Poziom 20  
    Z informacji z top-u wynika ze swap ma rozmiar 0.Czyli albo nie zamontowany albo znajduje sie gdzieś indziej.Wpisz cfdisk /dev/hda i powinno wyświetlić wszystkie partycje jakie masz założone na dysku i ich rozmiar.A i jeszcze przed zamontowaniem swapa sformatuj go poleceniem mksfap /dev/hda3. Pozdrawiam
  • Poziom 12  
    Witam
    Żeby było śmieszniej to partycja swap istnieje a jakże jest sformatowana tylko żeby system zaczął z niej korzystać muszę ją ręcznie zamontować ile można ??
    W Fedorze wyświetlanie struktury dysku to nie polecenie

    cfdisk /dev/hda

    tylko

    fdisk -l

    A co zrobić żeby wszystko szybciej działo ?? i tak tej pamięci nie żarło ??
    a to wywala top po włączeniu swapa
    Code:

    top - 12:07:00 up 9 min,  4 users,  load average: 0.78, 0.59, 0.40
    Tasks:  93 total,   1 running,  90 sleeping,   1 stopped,   1 zombie
    Cpu(s):  7.6% us,  6.6% sy,  0.0% ni,  0.0% id, 85.1% wa,  0.7% hi,  0.0% si
    Mem:    255612k total,   251412k used,     4200k free,     2912k buffers
    Swap:  1052248k total,      256k used,  1051992k free,   103676k cached

      PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
     2388 root      15   0  162m  15m 3236 S  4.6  6.4   0:12.46 X
     2748 root      17   0 45372  35m 8764 D  2.0 14.1   0:05.54 yum
     2700 makary    15   0 33788  14m  11m S  1.3  5.9   0:00.93 konsole
     2553 makary    15   0 35116  15m  11m S  1.0  6.0   0:05.17 kicker
     2589 makary    16   0  4736  972  832 S  0.3  0.4   0:01.05 autorun
     2655 makary    15   0 90084  19m  14m S  0.3  7.8   0:02.31 evolution
     2770 makary    15   0  2020 1020  804 R  0.3  0.4   0:00.05 top
        1 root      16   0  1740  576  500 S  0.0  0.2   0:01.29 init
        2 root      34  19     0    0    0 S  0.0  0.0   0:00.00 ksoftirqd/0
        3 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 watchdog/0
        4 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 events/0
        5 root      10  -5     0    0    0 S  0.0  0.0   0:00.01 khelper
        6 root      11  -5     0    0    0 S  0.0  0.0   0:00.00 kthread
       10 root      10  -5     0    0    0 S  0.0  0.0   0:00.03 kblockd/0
       11 root      20  -5     0    0    0 S  0.0  0.0   0:00.00 kacpid
      258 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 khubd
      262 root      10  -5     0    0    0 S  0.0  0.0   0:00.01 kseriod
      321 root      15   0     0    0    0 S  0.0  0.0   0:00.00 pdflush
      322 root      15   0     0    0    0 S  0.0  0.0   0:00.00 pdflush
      323 root      16   0     0    0    0 S  0.0  0.0   0:00.04 kswapd0
      324 root      20  -5     0    0    0 S  0.0  0.0   0:00.00 aio/0
      490 root      11  -5     0    0    0 S  0.0  0.0   0:00.00 kpsmoused
      505 root      10  -5     0    0    0 D  0.0  0.0   0:00.03 kjournald
      707 root      11  -4  1648  428  332 S  0.0  0.2   0:00.42 udevd
     1527 root      11  -5     0    0    0 S  0.0  0.0   0:00.00 kjournald
     1776 root      15   0  1616  564  472 S  0.0  0.2   0:00.02 syslogd
     1778 root      15   0  1564  392  328 S  0.0  0.2   0:00.00 klogd
     1788 rpc       25   0  1688  524  440 S  0.0  0.2   0:00.00 portmap
     1797 root      12  -3 11944  588  460 S  0.0  0.2   0:00.00 auditd
     1799 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 kauditd
     1830 root      15   0  2740  444  352 S  0.0  0.2   0:00.00 nifd

    a jak już przy tym jesteśmy to znaczą kolumny: PID; PR; NI; VIRT; RES; SHR i S

    Pozdrawiam Makary