LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Linux CPU Usage (https://www.linuxquestions.org/questions/linux-software-2/linux-cpu-usage-184952/)

distrowhore 05-23-2004 05:15 PM

Linux CPU Usage
 
Hello,

Im relatively new to Linux, ive only been playing around with it for a few weeks. I have Morphix as the distro I mainly use, however I have a few other distors lying around. I am interested in any techniques or programs (possibly built into linux) to just basically run my CPU at very high usage. I have tried Prime95 on Linux and it doesn’t want to work as well as it does on Windows. Does anyone have any recommendations? I just need to get the temperatures of my CPU under a load (I use thermal probes to monitor it). Thanks I appreciate any recommendations or techniques you may have to get your CPU usage very high for testing purposes.

ToniT 05-23-2004 05:42 PM

Try prime-net either directly from your distribution (easy way,if available) or from the upstream.

distrowhore 05-23-2004 05:47 PM

arent prime-net and prime 95 the same or roughly the same. Ive tried the one built onto Overclockix, however that doesnt operate properly. I just need to get the CPU usage up high to get temps to compare theseheatsinks. What are any other technique or way for Linux? Thanks

ToniT 05-23-2004 05:54 PM

ok. You might want to check the cpuburn, thus I have been very successful with the prime-net on torture-testing my cpu(s).

Pete M 05-23-2004 05:59 PM

Why not install F@H it will load your CPU and possibly do some good as well

http://forum.folding-community.org/index.php

Pete

distrowhore 05-23-2004 06:01 PM

Cool, thanks. Do I need Debian distro in order to run this program?

ToniT 05-23-2004 06:26 PM

No. I just happen to run debian and so debian software archive is the most familiar for me. ;)

Morphix is a debian based distribution, so the package should be allready available and installable by just 'apt-get install cpuburn'; if not, either fix your /etc/apt/sources.list to contain more packages or just hit that "download cpuburn" button from the webpage I gave you and install the package (dpkg -i theNameOfThefile.deb).

To get program running in a non-debian based distribution, find out the place "source package:" and pick that one (or alternatively check from the "copyright"-file where the upstream relies and take the package from there [it is exactly the same package as the cpuburn_1.4.orig.tar.gz])

distrowhore 05-23-2004 06:38 PM

Alright, thanks a bunch.

distrowhore 05-23-2004 06:53 PM

I just tried it and I am running it off of the CD, it gives me a bunch of crap about the file may be locked or it cant write to it. I imagine its since im running it off of the CD. The box I have running Linux is just a 512MB P4 2.4 12GB HDD 4x CD-ROM drive. When I tried to install Morphix to the hard drive, and I would boot it would give me errors about the hard drive being full even though I just formatted it. I am probably going to shove in a faster CD-ROM drive since I have lots of them unfortunately no larger spare hard drives. Would I be able to just keep running it off a CD drive and then how would I sleect the path to install for the cpuburn so i dont get those problems. Any additional information would help, im advanced with computers and windows but have recently just been working with Linux.

ToniT 05-23-2004 09:51 PM

ok. Three step complete walk-through program for installing software from scratch:
1. Get the source
2. Compile
3. Run.

Step 1:
a) First find yourself a directory having some space 20MB should do fine.
eg.
mkdir source
cd source
b) Fetch the source here
in debian(ish) system command:
Code:

apt-get source cpuburn
should work.
If it works, go to step 2.
If it doesn't, your installation is crippled; get the source and extract it manually.
eg. by using browser in the page I gave earlier or by running
And to extract the source package:
Code:

dpkg-source -x cpuburn_1.4-4.dsc
It worked? Go to step 2.
If this doesn't work, your installation is so crippled that it is not allowed to be called as debian;
let's do this step manually:
Code:

tar xvfz cpuburn_1.4.orig.tar.gz
zcat cpuburn_1.4-4.diff.gz | patch -p0

Step 2:
a) go to cpuburn-1.4 directory
Code:

cd cpuburn-1.4
b) Compile the beast.
Normally if we would like to build debian binary package, we would run
'dpkg-buildpackage', but now we just want to build the executables, so
we run:
Code:

debian/rules build
It worked? Go to step 3.
It didn't? Your debian build environment is broken.
Try just running manually 'make' and see if it works.

Step 3.
Now you sould have binaries burnBX, burnK6, burnK7, burnMMX, burnP5 and burnP6 in your current directory. To run one of them (eg. burnK7), type
Code:

./burnK7

ToniT 05-23-2004 09:54 PM

These are the steps that are thought all the way too complicated for normal home-user to get along with. ;)

distrowhore 05-24-2004 04:56 AM

Alright, thanks man ill do that today. Sounds pretty damn easy to me, I just am unsure of some stuff since the linux territory is new to me but the rest of the computer territory is well worked ground :)


All times are GMT -5. The time now is 05:51 PM.