Loading ...
Sorry, an error occurred while loading the content.
 

Ram & swap , many problems

Expand Messages
  • a1st1973@yahoo.com
    بسم الله الرحمن الرحيم السلام عليكم ورحمة الله وبركاته ، ... إليكم الإسئله التاليه وفقكم
    Message 1 of 3 , Jan 30, 2002
      بسم الله الرحمن الرحيم
      السلام عليكم ورحمة الله وبركاته ،
      الحمد لله والصلاة والسلام علي رسول الله (صلي الله عليه وآله سلم) أما بعد :
      ------------------------------------------------------------------------------------------------------------------------------
      إليكم الإسئله التاليه وفقكم الله لإجابتها :
      (1) من متطلبات تشغيل ريدهات 7.2 ذاكرة 128 M.Byte علي الأقل ، ولكني أستخدم 64 ، أجد النظام بطيء بعض
      الشيء ، فهل يمكن لل Swap partation أن يحل محل ال ram ؟ و كيف يتم تحديد المساحه المناسبه له بناء علي
      ال Ram الأصليه ؟ وما أقل مساحه من ال Ram  يستطيع كل من النظام (kernal) ، الواجهه الرسوميه مثل :
       (Kde , Gnome)  أن يعمل بها ؟ وهل توجد واحهه رسوميه أخري يمكن أن تعمل مع ذاكره Ram صغيره ؟
       
      (2) قرأت في أحد الكتب القديمه أنه عندما تم تجربة لينكس بإستخدام رقاقتين من الذاكرة Ram فإن النظام يحدث
      يه إضطراب و إرتباك ! هل هذا صحيح ؟!
       
      (3) ما هي البرامج المستخدمه في تحرير صفحات HTML ، ولها واجهه رسوميه GUI وتعمل في لينكس ، بديلاً
      عن Front page وغيره في الWindows ؟
       
      (4) ذات مره ، دخلت النظام كمستخدم عادى user وفوجئت بعدم وجود شريط المهام task bar ولوحته panal ؟
      فلم ذلك وحاولت عبثاً إظهارها فلم أعرف أرجو الإفاده يرحمكم الله ؟ ( في واجهة ال Kde ) .
      ثم ما هي العمليات التي يجب عليّ أن أدخل كمستخدم رئيسي لإتمامها ؟
       
      (5) مشكله حدثت لصديق لي ، لم يحصل علي القرص الثاني من مجلة online لإصدارة Redhat 7.2 وأعرته إياه
      فقام بسخه من الwindows بإستخدام برنامج virtual cd ؟ وقام بعد فتره بعمل نسخه منه بواسطة جهاز ناسخ
      الأقراص Writer ، ولكن أثناء إعداد النظام وجد أن القرص لا يعمل فلماذا ؟
      وكيف يمكنه إنزال النظام من علي القرص الصلب Hard disk بواسطة قرص إقلاع Boot disk ؟
       
      ماذا لو تفضل أحدكم وله خير الجزاء من الله بعمل قائمه بكل البرامج البديله في لينكس عن برامج الwindows
      في كل المجالات مثل تطوير المواقع ، البريد الألكتروني ، برامج الصوت والفيديو ، تحرير الصور ، وغيرهم أو الإشاره
      إلي موقع يتحدث عن ذلك بحيث تكون دليلاً للمبتدئين .
      وجزاكم الله خيراً وجميع المسلمين ، السلام عليكم ورحمة الله وبركاته .
      ---------------------------------------------------------------------------------------------------------------------------
      (1) some of the system requirments of Redhat 7.2 is 128 M.Byte physical Ram , but I use 64 M.Byte , the system may be hangs several times , but what about swap partation , does it replace of the memory ? and
      how I can determine the comfortable storage capacity of it ? does that depend on the physical ram ? what is the minimum Ram required for : Kde & Gnome ? and Is any desktop GUI can run with a small Ram ?
       
      (2) I read that ( in a old book 1996 of linux ) :
      When linux running wiht two Rams chipset , it hangs and freez ? Is that true ?
       
      (3) whats the programs used to devloping HTML pages under linux , and have a GUI as alternative of Front page in Windows ?
       
      (4) once , I login as a user , but I didn't find the taskbar or the panal ! why ? ( in the Kde ) .
      and what is the operations that need logining as root ?
       
      (5) one of my friends didn't obtain the second cd of online magazine of Redahat 7.2 , and he copy it frome me with virual cdrom program under windows , after that he copy it with Rw/cdrom , but when he install linux the 2d cd didn't work ? why ?
      and what he had to do when he coping it under windows ?
      and how it can istall it from hard disk with boot disk ?
       
      What about , one of you edit a list of all alternative programs in linux , in all fields such web development , Multimedia , sound, Editing images , etc. or tell us a link talk abut this ( gazakom ALLA 7'yran ) ,
      Salamu alaykom .
    • Alaa The Great
      On Thu, 31 Jan 2002 04:07:20 +0200 ... redhat being a corporate oriented OS states that it needs 128, but no GNU/Linux needs 128 minimum, in fact one of the
      Message 2 of 3 , Jan 30, 2002
        On Thu, 31 Jan 2002 04:07:20 +0200
        <a1st1973@...> wrote:


        > -----------------------------------------------
        > (1) some of the system requirments of Redhat 7.2 is 128 M.Byte physical
        >Ram> , but I use 64 M.Byte , the system may be hangs several times
        redhat being a corporate oriented OS states that it needs 128, but no
        GNU/Linux needs 128 minimum, in fact one of the advantages of GNU/Linux is
        being able to run os small rams (had debian running on a 486 with 8 MB).

        however you'll need to be a bit careful about what you use and what you
        have running when you have small RAM. here are some tips.

        - don't use X if you can
        X windows and the desktop are the ram hungry parts of the OS the rest (the
        GNU tools) have been designed ages ago when RAM was very expensive. so
        using the command line will generaly make your machines performance more
        efficient (and will make you more efficient too).

        - if you have to use X use frontends
        many GUI programs are just frontends for console or command line tools,
        these usualy use less ram than hardcoded GUI apps.(for example use Lyx for
        your wordprocessing instead of Koffice or Staroffice or gqmpeg instead of
        xmms)

        - try to find a smaller alternative to your favorite software
        for instance all Mozilla based browsers (netscape, mozzila, galeon) use too
        much ram (and disk space too) while opera is too small to be true and it
        does almost all things gecko can do (arabic is not there yet though). the
        only problem with opera is that its not free, but its zero price so its as
        good as netscape.

        - boot the the console
        when your system automaticaly boots to KDE or Gnome it usualy runs an X
        login manager like XDM, GDM or KDM this manager stays in the RAM even
        after you login or out. when you boot to the console (or shell) you just
        run startx and X will open 3alatool.

        - use a light desktop
        KDE is very resource hungry, Gnome is better but still, if you use a light
        desktop or a small window manager it would be much better. there are many
        light desktops out there among them are Xfce
        blackbox
        or you could just use plain Gnome window managers without gnome try
        ICEWM
        Sawfish
        although I have enough ram I always have a light desktoip installed just
        in case, I may need to open to many programs at the same time or I may
        loose a ram chip or anything. so mainly I use blackbox I think its very
        good. but beware these small and simple desktops and window managers are
        not trying to imitate M$ windows at all, so it may take some time to get
        used to them.

        - reduce color depth
        you'll hardly ever spot the difference between 16 bit and 24 or 32 bit
        graphics, keep it at 16 bit max (if you don't care about graphics that much
        you may consider making it 8 bit even).

        - reduce resolution
        this is usualy not a welcome step and its not really need it if you have
        64MB but it helps if you are desperate.

        - don't use virtual desktops or at least use less desktops.
        virtual desktops are these numbered boxes in your panel, it take lots of
        RAM to keep them all up.

        - don't use a background image
        if you have to then use a small pattern screen size images can take up to
        8MB of your RAM

        - don't use screensavers
        yes the screen saver is loaded in the memory all the time, try to set up
        power management instead.

        - clean up your services
        services are these programs loaded at boot time (when you see a message
        that either ends with OK or FAILED) many services are not that important
        (for instance loading the MySQL deamon while not using databases, or the
        sendmail deamon when you only use webmail also on some distros wine loads
        some service, and for most people wine doesn't work or isn't really useful,
        you may disable it). your systme should come with a wizrd or GUI tool to
        help you in configuring services if\ not then switch to Mandrake now :-)
        (I'm a real junkie ain't I) on a more serious note nearly all GNU/Linux
        systems come with linuxconf
        linuxconf is a very useful distro independent administration tool.
        run linuxconf and go to control panel--->control services
        the rest shoudl be easy to guess.
        but linuxconf will not document your services so it may be hard to know if
        you should disable them or not.


        - configure the swap right
        the swap partition should be at least your RAM size and there is no real
        reason to make it larger than double your RAM. 200MB is also a very good
        maximum (even if you've got 512MB RAM :-)

        I can't think of other useful tips, but this is a very big topic and I'm
        sure most of you will have good ideas I never thought of.


        > (2) I read that ( in a old book 1996 of linux ) :
        > When linux running wiht two Rams chipset , it hangs and freez ? Is that
        >true 1996?! that was in the last century !!
        no really with the speed of free software development any problem that
        existed last year is not likley to be with us till now (except for internal
        modems and arabic support, the later is because of lack of arabic minds
        working at it off course). this is a fact that makes you think about how
        useful conventional paper books could be with such topics.

        > (3) whats the programs used to devloping HTML pages under linux , and >
        have a> GUI as alternative of Front page in Windows ?
        don't know about that, seems lots of linux users would prefer to write HTML
        code directly or use more advanced tools like writing stuff in SGML or TEX
        first and then exporting it to HTML. I think it realy depends on what kind
        of HTML code you'd like to produce, if its simple document like articles
        but you'd still like to use frams and tables then a wordprocessor that can
        export to HTML would be enough (staroffice makes very good HTMLs and they
        are even human readable when you look at the code).

        maybe someone else can help us more here.


        >
        > (4) once , I login as a user , but I didn't find the taskbar or the panal
        > why ? ( in the Kde ) . does this happen often??
        if you boot to the console and run startx you can switch to the terminal
        where you started X (usually by hitting CTRL-ALT-F1) error messages should
        be there.

        > and what is the operations that need logining as root ?
        I don't understand this question! there are many tasks that need root all
        of them system maintenance and configuration.

        >
        > (5) one of my friends didn't obtain the second cd of online magazine of
        > Redahat 7.2 , and he copy it frome me with virual cdrom program under
        > windows , after that he copy it with Rw/cdrom , but when he install linux
        > the 2d cd didn't work ? why ?
        > and what he had to do when he coping it under windows ?
        I think you'de better make an exact copy, I don't know what virtual cdrom
        is or how it works, but what you need is a duplicate.

        > and how it can istall it from hard disk with boot disk ?
        you can always install packages manualy using rpm (on mandrake this would
        be much easier since it uses the more advanced urpmi)

        >
        > What about , one of you edit a list of all alternative programs in linux
        goo idea, but lets keep it distributed, maybe everyone should tell us what
        programs they use (specialy the small nonfamous gems).

        cheers,
        Alaa
      • Mohammed Sameer
        On Thu, 2002-01-31 at 04:07, a1st1973@yahoo.com wrote: (1) some of the system requirments of Redhat 7.2 is 128 M.Byte physical Ram , but I use 64 M.Byte ,
        Message 3 of 3 , Feb 1, 2002
          On Thu, 2002-01-31 at 04:07, a1st1973@... wrote:
          > (1) some of the system requirments of Redhat 7.2 is 128 M.Byte physical Ram
          > , but I use 64 M.Byte , the system may be hangs several times , but what
          > about swap partation , does it replace of the memory ? and
          > how I can determine the comfortable storage capacity of it ? does that
          > depend on the physical ram ? what is the minimum Ram required for : Kde &
          > Gnome ? and Is any desktop GUI can run with a small Ram ?
          >
          i think swap is addition to memory
          make it 2X your ram but no more than 256 mb (alaa's recomendations "for
          me my swap is 200 mb / 92 mb ram")
          i was running gnome with 30 mb ram once
          it was slow but usable
          also kde 1
          but didn't try the new versions

          > (2) I read that ( in a old book 1996 of linux ) :
          > When linux running wiht two Rams chipset , it hangs and freez ? Is that true
          > ?
          no i have 2 (32+64) and it's good
          NEVER hanged with rh 7
          >
          > (3) whats the programs used to devloping HTML pages under linux , and have a
          > GUI as alternative of Front page in Windows ?
          i didn't find a gui
          just try your hands with any text editor :)


          > What about , one of you edit a list of all alternative programs in linux ,
          > in all fields such web development ,

          Multimedia , mplayer, mplayer, mplayer !!!!!!!! www.mplayerhq.hu

          sound, xmms, mpg123

          Editing images , gimp
          > etc. or tell us a link talk abut this ( gazakom ALLA 7'yran ) ,
          check www.freshmeat.net for all the softwaree you need
          > Salamu alaykom .
          --


          _________________________________________________________
          Do You Yahoo!?
          Get your free @... address at http://mail.yahoo.com
        Your message has been successfully submitted and would be delivered to recipients shortly.