Click to See Complete Forum and Search --> : 100% CPU utilization during file extraction on Gentoo


bandwidth_pig
12-24-2003, 12:58 PM
I did a fresh Gentoo install yesterday. I could not get the gentoo sources kernel to compile from stage 2. I dont' know why. I have compiled this same kernel before with no trouble. Kept crashing when it got to zlib. I took zlib out of menuconfig and it still crashed. I deleted the /usr/src/linux file and emerged the gentoo sources again and it still crashed. I gave up on the gentoo sources and downloaded the 2.6.0 kernel since I planned to migrate to that anyway :p

Regardless, for some reason I don't understand, whenever I extract a large file in KDE my CPU utilization goes 100% and the sytem drops to it's knees. Be it through the GUI or the CLI. Doesn't matter. The results are the same. It can't do anything during this period. Doesn't matter if its a RAR or TAR. Only seems to happen with large files though :confused:

Also, during NFS transfers, the machine does the same thing. Again, this seems to only be with large files. The partition the files are residing on is a reiserfs partition. Could that have something to do with it? Any ideas?

bandwidth_pig
12-24-2003, 04:34 PM
I should mention that I just left the standard options from the P4 stage 2 tarball as far as CFLAGs go. I didn't attempt anything fancy. What about you other Gentoo users out there? Any of you running into this on a 2.6 kernel? Hmmm. Check this out:

bash-2.05b$ free
total used free shared buffers cached
Mem: 903536 898404 5132 0 14836 806604
-/+ buffers/cache: 76964 826572
Swap: 987988 0 987988
bash-2.05b$

I'm only running a couple of applications. Yet almost a Gig of RAM is being sucked up :confused:

bandwidth_pig
12-24-2003, 10:35 PM
Yahhhhhwhoooooo! Fixed it. So...for those of you compiling NFS support in the kernel, don't make the same mistake I did. I compiled in support for version 3 and version 4 on both the client and the server side. Did away with 4 (which I think was experimental anyway) and it runs like a champ!

Also, Note to self: mount /boot BEFORE you copy that kernel over on Gentoo! Makes all the difference in the world for performance.