bvc Posted May 6, 2003 Author Report Share Posted May 6, 2003 Why waste time with google..... :roll: I logged out>edited XF86Config-4 to use XFree86's nv driver and... [bvc@localhost bvc]$ ps aux | grep "[X]" root 2021 4.3 6.2 62776 11828 ? R 01:17 0:10 [X] [bvc@localhost bvc]$ free total used free shared buffers cached Mem: 190080 172444 17636 0 10584 71784 -/+ buffers/cache: 90076 100004 Swap: 795136 72 795064 [bvc@localhost bvc]$ I 've got a GeForce2 MX200(32MB) and I'm (was) using the latest NVIDIA driver. I didn't plan to but the 4191 had an issue that caused gnome2 to be slow and I wanted to give gnome2 half a chance......where'd I put those 3123src.rpm [as I go looking for them] :roll: Quote Link to comment Share on other sites More sharing options...
aru Posted May 6, 2003 Report Share Posted May 6, 2003 Congratulations :D [OFFTOPIC] YOU ARE LYING!!! The output of the following command is not what you showed us!!! [bvc@localhost bvc]$ ps aux | grep "[X]"<!--QuoteEBegin--><!--QuoteEBegin-->root 2021 4.3 6.2 62776 11828 ? R 01:17 0:10 [X] To show just X in grepped 'ps aux' you need this: "[X] " with a space after the X. The command "ps aux | grep "[X] " will output just only the X server line because of the space after the X; also the square brackets prevents to showup the always annoying matched grep proccess: As you did it: ~$ ps aux | grep "[X]" root 1335 0.0 1.7 44784 4392 ? S May05 0:01 httpd -DPERLPROXI root 3629 0.1 5.2 48024 13444 ? S May05 0:45 /etc/X11/X :0 -dp aru 7966 0.3 0.9 4572 2504 ? S 09:16 0:03 /usr/X11R6/bin/fl aru 8166 0.1 1.5 7768 4084 ? S 09:16 0:00 /usr/X11R6/bin//g aru 8236 0.1 0.8 4444 2160 ? S 09:17 0:01 /usr/X11R6/bin//x aru 8461 0.0 0.2 1876 760 pts/0 S 09:31 0:00 grep [X] With the space after but w/o the brackets: ~$ ps aux | grep "X " root 3629 0.3 7.0 52568 17992 ? S May05 1:48 /etc/X11/X :0 -dp aru 8532 0.0 0.2 1884 740 pts/0 S 09:41 0:00 grep X With the space plus the brackets: ~$ ps aux | grep "[X] " root 3629 0.3 6.9 52516 17940 ? S May05 1:52 /etc/X11/X :0 -dp It was a free tip by aru :mrgreen: Quote Link to comment Share on other sites More sharing options...
bvc Posted May 7, 2003 Author Report Share Posted May 7, 2003 [OFFTOPIC] YOU ARE LYING!!!The output of the following command is not what you showed us!!! You should question b4 you speak my friend :) . This command responds differently depending on whether you use a dm, Xtart, or startx. What's up with that??? It's like the new xcursors....they only work all the time, over all apps, if you use a dm. I can't recall which I was using at the time as I've been doing so much switching. Currently, using startx [bvc@localhost bvc]$ ps aux | grep "[X]" bvc 1357 0.0 0.5 2024 952 vc/1 S 20:16 0:00 /bin/sh /usr/X11R6/bin/startx root 1371 2.2 12.1 288456 23000 ? R 20:16 0:15 [X] bvc 1701 0.0 0.2 1484 496 pts/0 S 20:27 0:00 grep [X] [bvc@localhost bvc]$ ps aux | grep "[X] " [bvc@localhost bvc]$su Password: [root@localhost bvc]# ps aux | grep "[X] " [root@localhost bvc]# Nothing. Thanks for the explaination though. Frankly, I don't see the diff other than whats displayed. What exactly are you getting at....just what's displayed? I just need the result. Thanks. I rebuilt the 3123's :roll: which doesn't seem to have done a lot of good,but I'll continue and see. [bvc@localhost bvc]$ ps auxO-s USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1371 2.1 13.7 291544 26088 ? R 20:16 0:19 [X] lsmod NVdriver 1150112 10 (autoclean) [EDITED] to add "my friend"- sounded rude without it, which was not my intent :wink: Quote Link to comment Share on other sites More sharing options...
DragonMage Posted May 7, 2003 Report Share Posted May 7, 2003 Hmm.. I have this crazy idea.. could work, could not.. but try it out anyway.. How much memory did you put for the AGP aperture whatever in bios? Myabe the driver preallocate the memory so it takes the memory it doesn't use. It;s weird that XFree development in cooker stopped just before 9.1 is released and not renewed again. Shouldn't someone making XFree cvs rpms now? Quote Link to comment Share on other sites More sharing options...
bvc Posted May 7, 2003 Author Report Share Posted May 7, 2003 Thanks DragonMage! It;s weird that XFree development in cooker stopped just before 9.1 is released and not renewed again.I noticed the same just b4 you posted this when I went to look for a newer set of rpms. :( I should have stated b4 that I have a PCI card. Also, no agp options in the BIOS and I have NvAgp "0" or whatever in XF86Config-4. I have an onboard i810 that's agp though but it sucks. I'm going to compile the kernel (again) and take out apgart and the i810 stuff as well as any others. This is what I use to do when attempting to getting every little unneeded thing out of the kernel. If this doesn't work, I'll try to compile XFree86 from tarball because you can specify just about any option for it to compile with or without just like the kernel, and if that doesn't work, I will be discovering other distros (Libranet-2.8, Slackware-9.0 further, RH-9.0) :wink: I'm not going back to 9.0, just to turn around and have to upgrade stuff. :roll: I aslo tried 3 other NVIDIA's....same thing. I think it's ML9.1 specific with XFree86/NVIDIA. Or, maybe the card is dying?...card and hd???? This is really annoying because though it seems right for nvidia.o to use what it is, I seem to be the only one effected in the swap arena. Probably largely due to the fact that most have much better specs than I do, but I'd think someone would be having this prob, if even found from a google search....but nope. Thanks again! Quote Link to comment Share on other sites More sharing options...
bvc Posted May 9, 2003 Author Report Share Posted May 9, 2003 :P :D :? :? I don't know whether to be happy or sad....I guess it's progress but it's not the way I wanted it. I'm in kde3-1 :shock: and it's not happening. It did way back when I first posted the prob....maybe a fluke? I compiled the kernel-mm and took out all, well most of the unneeded stuff, and it still happened in gnome2, and waimea, windowmaker and afterstep, if I load gnome-settings-daemon and use gnome2-2/gtk2 apps. Right now in kde, I have 14 tabs open between opera and konq, xmms, kmail, and konsole, in just a 3 minutes uptime diff than the other latter times. This is much more than I ever did in gnome when testing. Guess I'll be looking for some gnome2-3 rpms....anyone know of some good ones :?: *shew* this is more like its always been. [bvc@localhost bvc]$ free total used free shared buffers cached Mem: 190300 187048 3252 0 4316 57536 -/+ buffers/cache: 125196 65104 Swap: 401584 36020 365564 [bvc@localhost bvc]$ [bvc@localhost bvc]$ ps auxO-s root 847 7.5 14.5 293968 27648 ? SL 18:32 2:29 /etc/X11/X :0 -deferglyphs 16 -auth /var/lib/gdm/:0.Xauth vt7 [bvc@localhost bvc]$ ps aux | grep "[X] " root 847 7.5 14.5 293968 27648 ? RL 18:32 2:35 /etc/X11/X :0 -deferglyphs 16 -auth /var/lib/gdm/:0.Xauth vt7 [bvc@localhost bvc]$ :?: Now the question is.....why/what does gnome have to do with X going crazy on my resources. Quote Link to comment Share on other sites More sharing options...
bvc Posted May 10, 2003 Author Report Share Posted May 10, 2003 Doesn't happen with a vanilla kernel and the ac-patch. In fact after X started X was using 14% mem, and after a few minutes went down to 10%. Now it's at 12%, but the point is it's actually changing in intervals and will go down, which wasn't happening with mandrake kernels in gnome2. [bvc@localhost bvc]$ free total used free shared buffers cached Mem: 190620 179968 10652 0 3612 65152 -/+ buffers/cache: 111204 79416 Swap: 401584 37812 363772 [bvc@localhost bvc]$ [bvc@localhost bvc]$ ps auxO-s USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1331 6.6 13.1 308720 25112 ? SL 09:40 3:17 /etc/X11/X :0 -deferglyphs 16 -auth /var/lib/gdm/:0.Xauth vt7 [bvc@localhost bvc]$ ps aux | grep "[X] " root 1331 6.8 15.5 313316 29704 ? RL 09:40 3:29 /etc/X11/X :0 -deferglyphs 16 -auth /var/lib/gdm/:0.Xauth vt7 [bvc@localhost bvc]$ Now I need to get supermount, preempt, and low-latency patches. Thanks to everyone, for your input/suggestions! Quote Link to comment Share on other sites More sharing options...
Guest smoketoomuch Posted May 12, 2003 Report Share Posted May 12, 2003 this might sound crazy - but did you use any of the 3d cursors (the moving ones, gold, silver, blue) from KDElook? Using that in conjunction with some gtk apps (for instance, rpmdrake) caused my memory to be slowly eaten away. Quote Link to comment Share on other sites More sharing options...
bvc Posted May 12, 2003 Author Report Share Posted May 12, 2003 Yes, for the past 1.5 weeks or so, but this started over a month ago. Thanks for the reply though! Quote Link to comment Share on other sites More sharing options...
Guest quadfour Posted May 24, 2003 Report Share Posted May 24, 2003 Hmmm, I don't seem to share these problems. System: ML9.1 Video: Geforce 4200Ti Video driver: Nvidia's 4349 Ram: 384Mb WM: Gnome No upgrades of X or anything else important. [quadfour@natalie incoming]$ ps auxO-s | sort +5n root 32032 2.3 5.8 320912 22464 ? SL May13 361:22 /etc/X11/X :0 -deferglyphs 16 -auth /var/lib/gdm/:0.Xauth vt7 and... [quadfour@natalie incoming]$ free total used free shared buffers cached Mem: 385660 378252 7408 0 26228 219248 -/+ buffers/cache: 132776 252884 Swap: 305192 129448 175744 [quadfour@natalie incoming]$ uptime 17:17:19 up 12 days, 37 min, 3 users, load average: 1.31, 1.32, 1.26 I guess X is using a load of memory though. Under 9.0 my memory usage was loads higher, but the kernel seems to take care of memory when its needed. :)[/code] Quote Link to comment Share on other sites More sharing options...
jdii1215 Posted May 24, 2003 Report Share Posted May 24, 2003 I have noticed a few things: If my netscape gets locked as a site tries to feed ads or the site gets hung contacting an ad site, and I kill it with a code 15, I get little of the RAM freed. OTOH, IF I pre-empt it by killing with code 9, I get the RAM back. Similarly, if I have a browser process on top of a mozilla-bin and kill the mozilla-bin, the browser does not get pre-empted-- nor does it run, it needs Mozilla's underlying code to function. So, I use pstree also, these days, when tracing layered calls of processes to see what the base of the tree for the subprocess chain I need to kill is. I have seen X "balloon" over time like this, if an ersatz Java virtual machine and a Sun Java vm fight, but usually it is something like part of a functional process chain got killed and not all of it. Even with mozilla itself, if one kills wrong part of chain one gets only part of the RAM that the whole chain used. This can be true of any process chain. What also happens is that when things get real RAM starved, one needs to preemptively kill the culprits from a console as root, simply because a pure root console login can take priority over a user that is su'd even-- if need be. Do be careful what you kill, though, you can reboot your box accidentally by killing a process that the kernel is treating as a core process. Quote Link to comment Share on other sites More sharing options...
bvc Posted July 29, 2003 Author Report Share Posted July 29, 2003 While trying other distros and installing ML9.1 again this prob didn't occure. Wipped it out, and continued to play with other distros and after installing a few times because of MoBo issues this porb is back, and driving me nuts! Makes absolutely no sense that in the same sys, installed the same way, with the same default setup, and variations of modified kernels etc....it happens again. I won't install 20 times to get a good one :roll: . Don't mean to resurect this thread but I'm baffled. Just thought it was interesting, and someone else might think so to. Quote Link to comment Share on other sites More sharing options...
Technonoid Posted July 29, 2003 Report Share Posted July 29, 2003 If you are talking about 9.1, then I know kinda what your talking about. Something about it, ( the install ) is real freaky. I had to install many times on 2 totally different computers before I thought they was stable enough to build a kernel for them. When I did get new kernels in place they have been rock solid... So far... *knocks on wood* Quote Link to comment Share on other sites More sharing options...
bvc Posted July 29, 2003 Author Report Share Posted July 29, 2003 Thanks for the thought. It is strange. In my sit though, I've tried 4 mdk kernels including the mm.mdk kernel and the lattest updated kernel. I've also compiled 3 of them from kernel-source including the mm. The only thing that works is a vanilla, though I haven't tried generic or RH kernels. Just silly IMO, and why does it appear that I'm the only one with this resource/swap prob? If it was more common they'd probably have a fix by now, but...... next stop; vanilla for ML9.1...oh, and debian Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.