vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I'm getting some rather poor performance out of a Red Hat 9 system with PIII 866 Coppermine, and 384 MB PC133 ram. At least part of the problem seems to be memory related. First off, the applications I'm using are sucking up enormous amounts of ram. All the apps I typically keep open are: Mozilla XEmacs Pan Evolution Gnome-terminal Nautilus (kept open by Gnome) However, each of these is sucking up massive amounts of ram, on the order of **dozens of megs** each and I'm typically close to exhausting my physical ram. Mozilla alone can often take up 50 - 100 megs. In addition to the above major apps, Gnome opens lots of little things (Gnome-panel, ...) which can take up quite sizeable amounts of ram (like 5 - 15 megs each). Performance is weak, whether it's the memory or something else. Switching between processes is slow, even if physical memory is not exhausted. Killing some apps improves things a little but doesn't always fully restore the system to decent performance. Further, I have stability problems. My system freezes up about once or twice a week or so, probably due to memory exhaustion and thrashing. By comparison, I have Windows 2000 running on a PII 450 with 512 MB ram. Does 128 MB ram make that much difference? It never crashes and it runs **faster** on the whole than Red Hat 9 on the PIII 866. Windows 2000 seems to handle memory exhaustion better than Red Hat. For instance, there's a buggy utility program with a memory leak for my wireless card on my Windows 2000 box. After runing for a day or so, the program consumes nearly all system memory. This doesn't phase Win 2000. The system slows down. I get a dialog notifying me that the system is increasing virtual memory. If I kill the program, a few seconds later, everything's back to normal. Why is it so much cleaner than under Linux? The hype I've heard is the opposite. I don't consider these basic activities I'm doing under Linux anything that should be particularly demanding, and I've never seen this kind of massive resource consumption for such ordinary tasks on other operating systems. Is this normal? Is there some system tweek that might ameliorate the problem? Should I upgrade to Fedora? PS. If you think this is a troll, that's fine. Just deposit your comments in /dev/null. On the other hand, if you have something useful to say, I'd be interested in any advice. |
| |||
| In comp.os.linux.misc Zinn <zinn@spam.all.people> wrote: > However, each of these is sucking up massive amounts of ram, on It sounds like you don't understand linux/unix memory management. If you did, you would tell us all about it and how the appearance and the reality relate. So I'm confident that you don't understand what you see. > PS. If you think this is a troll, that's fine. Just deposit your > comments in /dev/null. On the other hand, if you have something useful > to say, I'd be interested in any advice. Go away and understand the necessary basic things about memory management. Do the words "memory overcommit", "cache", "buffer" make sense to you? What do you understand by the word "free" (hint)? Do you know that unused memory is wasted memory? Peter |
| |||
| Zinn wrote: > I'm getting some rather poor performance out of a Red Hat 9 > system with PIII 866 Coppermine, and 384 MB PC133 ram. At least > part of the problem seems to be memory related. First off, > the applications I'm using are sucking up enormous amounts > of ram. All the apps I typically keep open are: > Mozilla > XEmacs > Pan > Evolution > Gnome-terminal > Nautilus (kept open by Gnome) > > However, each of these is sucking up massive amounts of ram, on > the order of **dozens of megs** each and I'm typically close to > exhausting my physical ram. Mozilla alone can often take up 50 - 100 > megs. In addition to the above major apps, Gnome opens lots of little > things (Gnome-panel, ...) which can take up quite sizeable amounts of > ram (like 5 - 15 megs each). > > Performance is weak, whether it's the memory or something else. > Switching between processes is slow, even if physical memory is not > exhausted. Killing some apps improves things a little but doesn't always > fully restore the system to decent performance. > > Further, I have stability problems. My system freezes up about once or > twice a week or so, probably due to memory exhaustion and thrashing. > > By comparison, I have Windows 2000 running on a PII 450 with 512 MB ram. > Does 128 MB ram make that much difference? It never crashes and it runs > **faster** on the whole than Red Hat 9 on the PIII 866. Windows 2000 > seems to handle memory exhaustion better than Red Hat. For instance, > there's a buggy utility program with a memory leak for my wireless card > on my Windows 2000 box. After runing for a day or so, the program > consumes nearly all system memory. This doesn't phase Win 2000. The > system slows down. I get a dialog notifying me that the system is > increasing virtual memory. If I kill the program, a few seconds later, > everything's back to normal. Why is it so much cleaner than under Linux? > The hype I've heard is the opposite. > > I don't consider these basic activities I'm doing under Linux anything > that should be particularly demanding, and I've never seen this kind of > massive resource consumption for such ordinary tasks on other operating > systems. Is this normal? Is there some system tweek that might ameliorate > the problem? Should I upgrade to Fedora? > > PS. If you think this is a troll, that's fine. Just deposit your > comments in /dev/null. On the other hand, if you have something useful > to say, I'd be interested in any advice. > > > > Hmm, you haven't provided enough info for anyone to give specific recommendations. By default Linux will cache a lot of data in RAM to improve performance. When a particular app needs more RAM Linux will reduce the amount of RAM used for cache and give the app more RAM. The idea is to maximize RAM usage (yes, this is very different from Windows). Unless you have a 'bad' RAM chip, memory should not be a problem. What type of disks (SCSI, IDE, USB, etc)? What is the file system (reiser, etc)? How are the disks partitioned? What are the partition sizes? How much swap space? What server daemons are running? What does the system log say after a "freeze"? etc, etc, etc.... Provide as much relevant information as possible. Regards, Larry -- Anti-spam address, change each 'X' to '.' to reply directly. |
| |||
| Zinn wrote: > I'm getting some rather poor performance out of a Red Hat 9 > system with PIII 866 Coppermine, and 384 MB PC133 ram. At least > part of the problem seems to be memory related. First off, > the applications I'm using are sucking up enormous amounts > of ram. All the apps I typically keep open are: > Mozilla > XEmacs > Pan > Evolution > Gnome-terminal > Nautilus (kept open by Gnome) > > However, each of these is sucking up massive amounts of ram, on > the order of **dozens of megs** each and I'm typically close to > exhausting my physical ram. Mozilla alone can often take up 50 - 100 > megs. In addition to the above major apps, Gnome opens lots of little > things (Gnome-panel, ...) which can take up quite sizeable amounts of > ram (like 5 - 15 megs each). > > Performance is weak, whether it's the memory or something else. > Switching between processes is slow, even if physical memory is not > exhausted. Killing some apps improves things a little but doesn't always > fully restore the system to decent performance. > > Further, I have stability problems. My system freezes up about once or > twice a week or so, probably due to memory exhaustion and thrashing. > > By comparison, I have Windows 2000 running on a PII 450 with 512 MB ram. > Does 128 MB ram make that much difference? It never crashes and it runs > **faster** on the whole than Red Hat 9 on the PIII 866. Windows 2000 > seems to handle memory exhaustion better than Red Hat. For instance, > there's a buggy utility program with a memory leak for my wireless card > on my Windows 2000 box. After runing for a day or so, the program > consumes nearly all system memory. This doesn't phase Win 2000. The > system slows down. I get a dialog notifying me that the system is > increasing virtual memory. If I kill the program, a few seconds later, > everything's back to normal. Why is it so much cleaner than under Linux? > The hype I've heard is the opposite. > > I don't consider these basic activities I'm doing under Linux anything > that should be particularly demanding, and I've never seen this kind of > massive resource consumption for such ordinary tasks on other operating > systems. Is this normal? Is there some system tweek that might ameliorate > the problem? Should I upgrade to Fedora? > > PS. If you think this is a troll, that's fine. Just deposit your > comments in /dev/null. On the other hand, if you have something useful > to say, I'd be interested in any advice. > > > > Hmm, you haven't provided enough info for anyone to give specific recommendations. By default Linux will cache a lot of data in RAM to improve performance. When a particular app needs more RAM Linux will reduce the amount of RAM used for cache and give the app more RAM. The idea is to maximize RAM usage (yes, this is very different from Windows). Unless you have a 'bad' RAM chip, memory should not be a problem. What type of disks (SCSI, IDE, USB, etc)? What is the file system (reiser, etc)? How are the disks partitioned? What are the partition sizes? How much swap space? What server daemons are running? What does the system log say after a "freeze"? etc, etc, etc.... Provide as much relevant information as possible. Regards, Larry -- Anti-spam address, change each 'X' to '.' to reply directly. |
| |||
| Zinn wrote: > comments in /dev/null. On the other hand, if you have something useful > to say, I'd be interested in any advice. My own true story: Our Linux server keeps running smoothly after years of use; on a lower shelf, we have a box with Windows 2000 that is used for our security cameras, and true-to-form, the damn thing kept re-booting and freezing. I had to reinstall the OS three times. -- A fatal exception 0E has occurred at 0028:C000BD1D in VXD VMM(01) + 0000AD1D. The current application will be terminated. |
| |||
| Zinn wrote: > Further, I have stability problems. My system freezes up about once or > twice a week or so, probably due to memory exhaustion and thrashing. No. It's prolly due to a memory hw problem. Try swapping out the memory and see if it goes away. It's pretty rare for Linux to hardware lock on its own. -- "If it can be said in a sig it prolly ain't all that witty anyways." |
| |||
| On Thu, 10 Jun 2004 18:40:55 +0000, Larry I Smith wrote: > Zinn wrote: >> I'm getting some rather poor performance out of a Red Hat 9 >> system with PIII 866 Coppermine, and 384 MB PC133 ram. At least >> part of the problem seems to be memory related. First off, >> the applications I'm using are sucking up enormous amounts >> of ram. All the apps I typically keep open are: >> Mozilla >> XEmacs >> Pan >> Evolution >> Gnome-terminal >> Nautilus (kept open by Gnome) >> >> However, each of these is sucking up massive amounts of ram, on >> the order of **dozens of megs** each and I'm typically close to >> exhausting my physical ram. Mozilla alone can often take up 50 - 100 >> megs. In addition to the above major apps, Gnome opens lots of little >> things (Gnome-panel, ...) which can take up quite sizeable amounts of >> ram (like 5 - 15 megs each). >> >> Performance is weak, whether it's the memory or something else. >> Switching between processes is slow, even if physical memory is not >> exhausted. Killing some apps improves things a little but doesn't always >> fully restore the system to decent performance. >> >> Further, I have stability problems. My system freezes up about once or >> twice a week or so, probably due to memory exhaustion and thrashing. >> >> By comparison, I have Windows 2000 running on a PII 450 with 512 MB ram. >> Does 128 MB ram make that much difference? It never crashes and it runs >> **faster** on the whole than Red Hat 9 on the PIII 866. Windows 2000 >> seems to handle memory exhaustion better than Red Hat. For instance, >> there's a buggy utility program with a memory leak for my wireless card >> on my Windows 2000 box. After runing for a day or so, the program >> consumes nearly all system memory. This doesn't phase Win 2000. The >> system slows down. I get a dialog notifying me that the system is >> increasing virtual memory. If I kill the program, a few seconds later, >> everything's back to normal. Why is it so much cleaner than under Linux? >> The hype I've heard is the opposite. >> >> I don't consider these basic activities I'm doing under Linux anything >> that should be particularly demanding, and I've never seen this kind of >> massive resource consumption for such ordinary tasks on other operating >> systems. Is this normal? Is there some system tweek that might ameliorate >> the problem? Should I upgrade to Fedora? >> >> PS. If you think this is a troll, that's fine. Just deposit your >> comments in /dev/null. On the other hand, if you have something useful >> to say, I'd be interested in any advice. >> >> >> >> > > Hmm, you haven't provided enough info for anyone > to give specific recommendations. > > By default Linux will cache a lot of data in RAM > to improve performance. When a particular app > needs more RAM Linux will reduce the amount of > RAM used for cache and give the app more RAM. > The idea is to maximize RAM usage (yes, this > is very different from Windows). > > Unless you have a 'bad' RAM chip, memory > should not be a problem. > > What type of disks (SCSI, IDE, USB, etc)? > What is the file system (reiser, etc)? > How are the disks partitioned? > What are the partition sizes? > How much swap space? For primary disk drive, I have a 7200 rpm ATA-100 hard drive with 8.5ms average seek. There's a secondary drive, but it's on the other IDE interface. File system is ext3. There are 12 partitions on the primary drive: Device Boot Start End Blocks Id System /dev/hda1 * 1 11 88326 6 FAT16 /dev/hda2 12 12 8032+ a OS/2 Boot Manager /dev/hda3 13 204 1542240 17 Hidden HPFS/NTFS /dev/hda4 205 3608 27342630 f Win95 Ext'd (LBA) /dev/hda5 * 205 249 361431 7 HPFS/NTFS /dev/hda6 * 250 696 3590496 7 HPFS/NTFS /dev/hda7 * 697 990 2361523+ 83 Linux /dev/hda8 * 991 1056 530113+ 82 Linux swap /dev/hda9 * 1057 1560 4048348+ 83 Linux /dev/hda10 * 1561 2207 5196996 83 Linux /dev/hda11 2208 2654 3590496 83 Linux /dev/hda12 3063 3608 4385713+ 83 Linux My root is mounted on hda11. My /usr is mounted on hda12. My swap is on hda8, with 530 MB. The other linux partitions are from a previous rh7 installation (whose performance was not *as bad* if I recall). In fact, here's the output of mount: /dev/hda11 on / type ext3 (rw) none on /proc type proc (rw) none on /dev/pts type devpts (rw,gid=5,mode=620) none on /dev/shm type tmpfs (rw) /dev/hda12 on /usr type ext3 (rw) /dev/hda10 on /mnt/hda10 type ext2 (rw) /dev/hda7 on /mnt/rh7root type ext2 (rw) /dev/hda9 on /mnt/rh7usr type ext2 (rw) /dev/hdb5 on /mnt/spec type ext3 (rw) > What server daemons are running? As for services: [root@samantha Hamilton]# service --status-all anacron dead but subsys locked apmd (pid 572) is running... atd (pid 841) is running... Configured Mount Points: ------------------------ Active Mount Points: -------------------- cannaserver (pid 702) is running... crond (pid 713) is running... cupsd (pid 732) is running... gpm (pid 681) is running... httpd (pid 721 720 719 718 717 716 715 714 692) is running... Table: filter Chain INPUT (policy ACCEPT) target prot opt source destination RH-Lokkit-0-50-INPUT all -- anywhere anywhere Chain FORWARD (policy ACCEPT) target prot opt source destination RH-Lokkit-0-50-INPUT all -- anywhere anywhere Chain OUTPUT (policy ACCEPT) target prot opt source destination Chain RH-Lokkit-0-50-INPUT (2 references) target prot opt source destination ACCEPT udp -- clock.redhat.com anywhere udp spt:ntp dpt:ntp ACCEPT udp -- clock.redhat.com anywhere udp spt:ntp dpt:ntp ACCEPT udp -- ns5.attbi.com anywhere udp spt:domain dpts:1025:65535 ACCEPT udp -- ns2.attbi.com anywhere udp spt:domain dpts:1025:65535 ACCEPT tcp -- anywhere anywhere tcp dpt:http flags:SYN,RST,ACK/SYN ACCEPT tcp -- anywhere anywhere tcp dpt:ftp flags:SYN,RST,ACK/SYN ACCEPT tcp -- anywhere anywhere tcp dpt:ssh flags:SYN,RST,ACK/SYN ACCEPT tcp -- anywhere anywhere tcp dpt:telnet flags:SYN,RST,ACK/SYN ACCEPT all -- anywhere anywhere ACCEPT all -- anywhere anywhere REJECT tcp -- anywhere anywhere tcp dpts:0:1023 flags:SYN,RST,ACK/SYN reject-with icmp-port-unreachable REJECT tcp -- anywhere anywhere tcp dpt:nfs flags:SYN,RST,ACK/SYN reject-with icmp-port-unreachable REJECT udp -- anywhere anywhere udp dpts:0:1023 reject-with icmp-port-unreachable REJECT udp -- anywhere anywhere udp dpt:nfs reject-with icmp-port-unreachable REJECT tcp -- anywhere anywhere tcp dpts:x11:6009 flags:SYN,RST,ACK/SYN reject-with icmp-port-unreachable REJECT tcp -- anywhere anywhere tcp dpt:xfs flags:SYN,RST,ACK/SYN reject-with icmp-port-unreachable irattach is stopped No status available for this package lisa is stopped rndc: connect failed: connection refused Configured devices: lo eth0 ppp0 Currently active devices: lo eth0 rpc.mountd is stopped nfsd is stopped rpc.rquotad is stopped rpc.statd (pid 504) is running... nscd is stopped ntpd (pid 642) is running... portmap (pid 485) is running... pxe is stopped The random data source exists saslauthd is stopped sendmail (pid 671 662) is running... smbd (pid 819) is running... nmbd (pid 823) is running... snmpd is stopped snmptrapd is stopped sshd (pid 609) is running... syslogd (pid 463) is running... klogd (pid 467) is running... vsftpd is stopped winbindd is stopped xfs (pid 810) is running... xinetd (pid 623) is running... ypbind is stopped rpc.yppasswdd is stopped ypserv is stopped rpc.ypxfrd is stopped > What does the system log say after a "freeze"? > etc, etc, etc.... I don't think it says anything relevant. I don't think the system "knows" it's frozen. It's just wildly swapping in and out of the hard disk. On one occasion, my Linux box started freezing up (I could tell because the mouse started moving jerkily). I ran to my Windows box, which had an ssh window into it open, and typed something that would kill any process with a name containing "ozilla" (on the hunch that Mozilla was the culprit). The characters echoed back at about 1 every 15 minutes. I let the thing run out of curiosity. About 6 hours later, Mozilla was in fact killed and the system was usable again. (Another triumph for the Penguin!). The system didn't think anything anomalous had happened. It just seems that Red Hat 9 isn't very good at handling stressful memory situations. > Provide as much relevant information as possible. > > Regards, > Larry |
| |||
| On Thu, 10 Jun 2004 20:04:28 +0200, P.T. Breuer wrote: > In comp.os.linux.misc Zinn <zinn@spam.all.people> wrote: >> However, each of these is sucking up massive amounts of ram, on > > It sounds like you don't understand linux/unix memory management. If > you did, you would tell us all about it and how the appearance and the > reality relate. So I'm confident that you don't understand what you > see. > >> PS. If you think this is a troll, that's fine. Just deposit your >> comments in /dev/null. On the other hand, if you have something useful >> to say, I'd be interested in any advice. > > Go away and understand the necessary basic things about memory > management. Do the words "memory overcommit", "cache", "buffer" make > sense to you? What do you understand by the word "free" (hint)? Do you > know that unused memory is wasted memory? > > Peter Is this real advice, or rhetoric? I don't follow what you're saying at all. Both Red Hat 9 and Windows 2000 are pretty much set up "out of the box." I haven't fiddled with anything regarding memory management on either system. Am I expected to know some special "basic things about memory management" before I can get decent performance out of Linux? If what you're saying here has something to do with your ego being tangled up with how well Linux performs, then I'd ask *you* to go away, because you're no use to me or anyone else. |
| ||||
| In comp.os.linux.misc Zinn <zinn@spam.all.people> wrote: > On Thu, 10 Jun 2004 20:04:28 +0200, P.T. Breuer wrote: > > > In comp.os.linux.misc Zinn <zinn@spam.all.people> wrote: > >> However, each of these is sucking up massive amounts of ram, on > > > > It sounds like you don't understand linux/unix memory management. If > > you did, you would tell us all about it and how the appearance and the > > reality relate. So I'm confident that you don't understand what you > > see. > > > >> PS. If you think this is a troll, that's fine. Just deposit your > >> comments in /dev/null. On the other hand, if you have something useful > >> to say, I'd be interested in any advice. > > > > Go away and understand the necessary basic things about memory > > management. Do the words "memory overcommit", "cache", "buffer" make > > sense to you? What do you understand by the word "free" (hint)? Do you > > know that unused memory is wasted memory? > > Is this real advice. That you go away and understand? Yes. > or rhetoric? ??? > I don't follow what you're saying at > all. Then go away and come back when you understand that you don't understand, and are willing to understand instead of spout nonsense. > Both Red Hat 9 and Windows 2000 are pretty much set up "out of the > box." Good. So? > I haven't fiddled with anything regarding memory management on Fine. So? > either system. Am I expected to know some special "basic things about > memory management" before I can get decent performance out of Linux? No - you're expected to understand that you are misinterpreting what you are seeing through the amazing depth of your own ignorance. It's like seeing an aboriginal tribesman complaining that a mobile phone make a terrible drunmstick. Cease attributing your performance troubles, whatever they are, to your own misinterpretation of the way memory works. Geddit? > If what you're saying here has something to do with your ego being > tangled up with how well Linux performs, then I'd ask *you* to go away, No - it has to do with YOUR ego. Make it go away. Entertain the notion that your amazingly big head is in the way of your nose. When your head has shrunk a bit and you have gained the humility with which to start understanding instead of spouting nonsense, try again. > because you're no use to me or anyone else. Unfortunately for you, it is you that have the problem. Peter |
| Thread Tools | |
| Display Modes | |
|
|