Control CPU usage at different levels

Hello
I have spent a lot of time trying to make the sleep(long milli, int nano) method to work. My main purpose is to try and control the CPU usage at different percentage levels.
I got this information from the link below under Threads, �A new form of the sleep() method is provided which allows for sleep times smaller than one millisecond.�
Link is:
http://java.sun.com/j2se/1.5.0/docs/relnotes/features.html#threads
Is it the same sleep method as above? I tried using sleep( 0, 1 ) where I am expecting a CPU usage at or near 100% but its going only at 2%. When I change to sleep( 0 , 0 ) the CPU usage is at 100%.
I am using JBuilder Enterprise and Foundation with JDK 1.5.
Thanks for your help.

Is it the same sleep method as above? I tried using
sleep( 0, 1 ) where I am expecting a CPU usage at or
near 100% but its going only at 2%. Just a guess: the problem could be that Java might, depending on the environment, not be able to measure nanos, because the clock resolution is not "big" enough..
When I change to
sleep( 0 , 0 ) the CPU usage is at 100%.As it should.

Similar Messages

  • What are the ways to control CPU usage?

    Database: Generic
    OS : Linux
    Problem Description :
    Q: What are the ways to control CPU usage precisely like instance caging for 11g if the database host has multiple 10g instances?
    What are the ways to control CPU usage precisely in database host that has multiple 10g instances. I fear that particular instances
    overallocate CPU resource on the host and this affects performance of other instances on the host if CPU_COUNT value is set to default for every instances.
    ** Oracle is working on this issue, but in parallel is opening the topic to the Community so that Community members can add their perspective, experience or knowledge. This will further enhance all knowledge bases including My Oracle Support and My Oracle Support Communities; assisting all Community members and enabling richer solution searches. **

    ram_orcl wrote:
    Database: Generic
    OS : Linux
    Problem Description :
    Q: What are the ways to control CPU usage precisely like instance caging for 11g if the database host has multiple 10g instances?So in other words... how to reduce performance of a process by decreasing the CPU availability to that process. And what do you do with that spare CPU cycles? Imagine that things are now better as the CPU utilisation has dropped by 10% or so?
    What are the ways to control CPU usage precisely in database host that has multiple 10g instances. That is the kernel's job. Or do you think you know better than the very sophisticated processing and scheduling models that the kernel support - and should override that and control that from userspace?
    I fear that particular instances overallocate CPU resource on the host and this affects performance of other instances on the host if CPU_COUNT value is set to default for every instances. Sounds like baloney to me. What you fear and not not fear does not change reality. What is the reality? What is the problem? In crystal clear technical details?

  • Why is the CPU usage different ?  I used LOAD_BALANCE option.

    I used a oracle 11.2.0.2 in RAC 2 nodes.
    And I used LOAD_BALANCE option in the WAS pool configuration
    jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.10.118)(PORT=1522))(*LOAD_BALANCE=YES*)(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=NOFFICE)))
    But the CPU usage is different between two system. Usually it is 6:4, Sometimes it is 7:3.
    Is it normal?
    I want to a balance in CPU Usage (5:5).
    If it is the better solution about a Load balance. i want to know it.

    You are partially correct which is another way of saying you are incorrect too.
    There are two types of load balancing ... server side and client side. There are also questions with respect to how the client is connecting, we don't know, whether the session load is identical, etc. which the OP has not stated.
    The only thing I can absolutely say at this point is that what the OP has seen is normal and I can't see any reason why, unless the skew is very large and very permanent, anyone should care.
    To the OP: Let's step back from the "what I want" statement and go to the basis of your inquiry: "Why do you care? Please provide a business reason and cite specific performance metrics, from your system, showing the problem you are trying to address. Then perhaps we can help you.

  • Memory & CPU Usages

    Hi,
    I'm a new user of SJSAS. Currently I�ve installed v9.1 on redhat. I would be helpful for if any body answers questions below-
    1. Is it possible to set different limit for memory & CPU usages for different applications, if yes then how ?
    2. How can I monitor memory & CPU usages by different application ?
    Thanks

    By "application", I'm assuming you mean different web/ejb/enterprise applications within a single SJSAS instance. If that's true, then the answer to your question is no -- all applications share the resources of the appserver.
    On the other hand, if you need to, you can set up multiple instances of the appserver on the same machine, deploy one application to each instance, and control the resources that the appserver itself uses. How you limit the CPU use (and monitor) is then done at the OS level -- I don't know how it's done in Linux, actually. But in Solaris, you could use the Solaris Resource Monitor, or processor sets, or Zones/LDOMs, or any number of things to affect the resources available to the appserver; look for similar things in Linux.

  • How to control CPU Utilazation on linux, Its URGENT

    Hi Friends,
    Our Os is Linux. And weblogic server is running on production mode.
    time to time CPU usage is reaching till 90%. I checked from console
    that there are standby process. Please help me to controll CPU usage.
    At what point should I concentrate.
    Please help me. its urgent.

    In our application that is CMS(Content Management System), has used Unsynchonized HashMap.
    Is this causing High CPU Utilization, and what may be other root cause for the same.
    Plaese help me.

  • Stripchart control, strange high CPU usage

    Hi all...
    I have tracked a strange problem with stripchart control.
    I noticed in the past that "sometime" different programs I wrote had an abnormal CPU usage, not justified by any activity they were actually performing.
    Finally I had the time to track down the problem and to build a minimal sample code.
    The presented program has a panel with a stripchart control and two command buttons. 
    The buttons simply clear the stripchart and add a single point to the empty stripchart.
    int CVICALLBACK ControlCB (int panel, int control, int event,void *callbackData, int eventData1, int eventData2)
    switch (event) {
    case EVENT_COMMIT:
    switch(control) {
    case PANEL_BUG:
    ClearStripChart(panel,PANEL_GRAPH);
    PlotStripChartPoint (panel, PANEL_GRAPH, MAGIC_VALUE);
    break;
    case PANEL_NOBUG:
    ClearStripChart(panel,PANEL_GRAPH);
    PlotStripChartPoint (panel, PANEL_GRAPH, NOT_SO_MAGIC_VALUE);
    break;
    break;
    return 0;
    I found that adding "special" values to the stripchart starts a background activity that consumes a significant amount of CPU time.
    In this screenshot you can see what happens on my PC when I click the "Bug" command button.
    The special value is here 42.22 but I bet there are other thousands with similar behaviour.
    Being a single point, the stripchart does not show nothing but the change of the Y axis scale.
    Clicking the "No Bug" command button inserts the value 100.0 and no bad behaviour occurs.
    Just to shuffle ideas, if you push "No Bug" and then "Bug", the bad behavior does not occurs, too.
    It's surely an interaction between the Y axis autoscale, the initial values and may be the "scale name". I haven't the time to explore all the combinations and may be a minimal workaround.
    In my applications I ended in doing the autoscaling "by hand".
    I have tested the program on five different PCs, Core 2 Duo CPUs running XP, Vista and 7 (italian), compiled with CVI 2010 SP1
    Attached there is the full project.
    The distribution kit for the project (no sources) can be downloaded here: http://dl.dropbox.com/u/23913808/CPUeater.zip
    Carlo A.
    Megaris
    Solved!
    Go to Solution.
    Attachments:
    StripChartCPUeater.zip ‏5 KB

    There was a bug in the graph/strip chart code which could cause endless cycling when attempting to resize a graph axis which had an axis label visible. It has been fixed for the next version of CVI so unfortunately you're going to have to wait a little bit.
    There are two possible workarounds:
    1) disable the axis label. If it isn't displayed, this looping can never occur.
    2) Enable Fixed plot area and play around with the left and width of the plot area to move the whole thing over to the right a bit more. The problem was introduced when the graph/chart thinks the label is getting too close to the edge of the graph and attempts to reposition the label. Unfortunately the code was a little buggy and the label was getting positioned in the exact same spot, but we weren't checking to see if we'd already tried to reposition the label, and so it endlessly cycled.
    Sorry about the inconvenience.
    Kevin B.
    National Instruments

  • NI HyperTrend Control raises the CPU usage of NI Citadel DB and freezes it.

    When a VI uses NI HyperTrend Control to fetch data from NI Citadel DB, the CPU usage of citadel is raised up to 10% and stops working.
    I don't know what "stops working" means since my coworker told me so.
    How can the control be prevented from freezing citadel?

    Jeff.St wrote:
    Hey iCat,
    Does the Trace View in MAX work?
    What version of LabVIEW are you running?
    Can you run the Hyper Trend control without linking it to a particular trace?
    Can you use the Hyper Trend control without starting your VI?
    Best,
    1) Does the Trace VIEW in MAX work?
    yes with 3 signals(traces?)
    2) What version of LabVIEW are you running?
    9.0 SP1
    3) Can you run the Hyper Trend control without linking it to a particular trace?
    yes
    4) Can you use the Hyper Trend control without starting your VI?
    yes
    5) And he has another question.
    Please refer to the attached image.
    For now, if he wants to put Va/Vb/Vc in Y axis of a hyper trend control, he has to do it in the front panel.
    He wants to put it in Y-axis via a property node in the block diagram.
    Is it possible?
    Attachments:
    hypertrendcontrol.png ‏46 KB

  • How do i control my cpu usage.

    I have a HP TouchSmart tx2 Notebook PC, and I'm having trouble with my CPU usage, its always high even though i dont have any programs running, so when I am using a program like Oovoo or Skype, I'm not able to use them because it says that my CPU usage is to high, what can I do to control this the CPU usage?

    Moe631 wrote:
    I have a HP TouchSmart tx2 Notebook PC, and I'm having trouble with my CPU usage, its always high even though i dont have any programs running, so when I am using a program like Oovoo or Skype, I'm not able to use them because it says that my CPU usage is to high, what can I do to control this the CPU usage?
    try Message 7 of this thread
    http://h30434.www3.hp.com/t5/TX-TM-Series-Notebooks/HP-TouchSmart-tx2-laptop-is-very-slow/td-p/68583
    also
    try to reduce the number of programs and unnesecary services at startup from the startup manager.
    If my reply was helpful please click the "Kudos" star.
    If your problem is solved please click the "Accept as Solution" button

  • How to lower the CPU usage level?

    My CPU usage level has always been over 90% even after i restart my mac book pro, what should i do?

    u09mi7
    You can launch activity monitor to see what processes are using what amount of CPU. Also there is an application called AppTamer it is a sharware program and has gotten good reviews. It helps to reduce CPU usage on programs that are kind of in the background, one's you're not using at the moment. I would also recommend iStats Menu which monitors are the vital systems, memory, cpu, temps, disk activity etc...if you don't want to pay for the license the dashboard widget iStats Pro is free of charge and does the same thing. Do you have a lot of apps starting as login items? Hope this helps. Follow up and let us know how things are working.
    Regards,
    Joseph

  • How to control timing without 100% CPU usage

    I wanted fine control over timing (in windows XP), but ran into two problems.
    Problem 1: If you use the Swing timer, or Thread.sleep, the resolution is limited to 10 or 11 milliseconds. There is a Thread.sleep(millis, nanos) function, but I tested it and it still has 11ms resolution in WinXP.
    Problem 2: If you use jbanes's GAGE timer, CPU utilization will always be 100%.
    Solution: Use a hybrid technique. I would love to have nanosecond resolution AND low CPU utilization at any speed (and if you have any suggestions, please post them) but for now:
    class /*name*/ extends Thread{
    public void run(){
              setDelay(delaySettings[speed]); //Set "delay" to the desired delay in nanoseconds
              long nanos;
              while(true){
                   if(running){ //"running" is a boolean that can pause or unpause the game
                        nanos=System.nanoTime()+delay;
                        tick(); //Do the game logic and graphics for one frame
                        if(delay>11000000){ //If the system timer can handle it
                             try{sleep(delay/1000000);} //delay/1000000 gives millis
                             catch(Exception e){System.out.println("Caught sleep exception: "+e);}
                        }else{ //use a nanotimer (cpu-expensive)
                             while(System.nanoTime()<nanos){}
                   }else{ //it is paused, so wait a bit
                        try{sleep(50);}
                        catch(Exception e){System.out.println("Caught sleep exception: "+e);}
    //The rest of your code
    }If your desired delay is greater than the system timer resolution (here, I have it set at 11,000,000 nanoseconds, or 11ms) then you can use the Thread.sleep(milliseconds) call, which will have approximately 0% CPU utilization until the thread wakes up. Theoretically, you could use this time for another thread, but at the very minimum, your computer should use less power / generate less heat. If your desired resolution is smaller than 11,000,000 nanoseconds, it goes into a loop that checks nanoTime()... which gives you 100% CPU usage, but is very accurate. This works pretty well if you want to control the framerate dynamically (I use the "-"/"=" buttons to adjust speed) and it handles "pause" events, though I'm sure there are better ways to do that.
    Note: The timing granularity above 11ms for this technique is probably 11ms, though the code could be modified to provide nanosecond granularity at any speed.
    Note 2: I found this to run 3% faster than when I used the GAGE timer.
    -Cherry

    Pause the game when u alt-tab away ^_^
    Thats what most native fullscreen games do (the
    non-networked kind atleast)Good idea, but the crux of the issue is really the underlying scheduler which allows
    the thread to race.
    How to "Eliminate" 100% CPU usage.
    Tony's Law of the exec constant. <<<<"Any thread or process running on a non-preemptive operating system MUST NOT use blocking
    IO, and MUST preempt itself at leat 20MS per iteration."
    The reason it is called a constant is because it is the minimum time needed to ensure
    the underlying operating system gets enough CPU cycles to function correctly.
    Every milliseconds below this increases exponentially the chance of locking up or
    crashing despite the speed of your system.
    Most people who program do not realize the the implications of running under defective schedulers
    such as the one provided with MS windows where, for example, you can block on a socket, and
    hang your whole system.
    >>> Do NOT use Thread.sleep() <<< but instead use Object.wait();
    Do not use blockng IO. If you have to use java.io, use available() to make such you ONLY
    read the exact amount of bytes you need without blocking and make sure to prempt
    yourself at least 20MS per iteration.
    ie:
    InputStream inputStream;
    while(working)
    Object waitObject = new Object();
    int readCount = 0;
    int availableBytes = 0;
    int  totalBytes = 10;
       while(readCount < totalBytes)
          if((availableBytes = inputStream.available())!=0)
              read() (the # of Bytes available)
          else
              synchronized(waitObject)
                   waitObject.wait(200);        // 5X per second poll
                    waitObject.notifyAll();
    Using wait() removes the current thread from being scheduled; Thread.sleep()
    leaves the Thread on the schedule list. wait() releases all monitors allow other
    threads to have them; THread.sleep() does not.
    The 100% CPU issue is especially bad under NT BTW.
    If you do this not only will your CPU usage go to negligible, but you
    will never again lock your system because of it.
    Good Luck!
    (T)

  • CPU-Usage during control of a DC Motor with the PCI-7344 board?

    Hello!
    I want do control a DC-motor (no stepper motor). Now i´m using the PCI-6527 board and simulating the delay between "high" and "low" on the Simulate-signal-vi. This works fine while no other process on the PC is running. The CPU-usage rises up to 100%. Is it possible to use the PCI-7344 board for controlling my DC-motor and having enough CPU resources to do other things like capturing pictures with a cam at the same time? The CPU is a Pentium 3 1Ghz.

    The PCI-7344 is a perfect solution for your problem. This board is designed for motion control applications and it's running everything on its own DSP and CPU:
    Trajectory Generation, PID control, limit switch monitoring and so on.
    Thus the PC's CPU is free for other tasks. Please note that you need a position feedback signal from a quadrature encoder.
    Best regards,
    Jochen Klier
    National Instruments Germany

  • Gnome Volume Control High CPU Usage

    I have an interesting problem.
    When I boot into Arch, my CPU usage is farly low. Jumping around 0 - 10% or so.
    But as soon as I open up Gnomes Volume Control window. Cpu usage jumps up to 50 - 60% and stays there, No matter if the windows open or not.
    My front channel is also at 0% on boot, so I normally go into the Volume Control to bring that up.
    I noticed using alsamixer in the terminal will prevent the cpu usage from going so high. But if I open Gnome's Volume Manager, I have to log out, and log back in to get cpu usage back to normal. Is there anyway to avoid this or fix this issue?

    This seems to be a known bug. http://www.google.com/search?hl=en&q=gn … h&aq=f&oq=

  • Controlling the main time line of a movie via a button within a movie on a different level.

    Hi there!
    I have two movie is two different levels,
    Level 5 is my base movie and I am loading another movie on
    top of this into level 10.
    Once the user clicks onto a button within the movie on level
    10, I would like the animation in level 5 to stop (the animation
    runs on the main root timeline of level 5).
    Once the user clicks on a different button within the movie
    on level 10, I would like the animation on the main timeline of the
    movie in level 5 to start again from the point where it previously
    left off.
    Is this possible?
    It would be great if someone could help me out with this.
    Thanks, midi_ie

    midi_ie wrote:
    > Hi there!
    > I have two movie is two different levels,
    > Level 5 is my base movie and I am loading another movie
    on top of this into
    > level 10.
    > Once the user clicks onto a button within the movie on
    level 10, I would like
    > the animation in level 5 to stop (the animation runs on
    the main root timeline
    > of level 5).
    >
    > Once the user clicks on a different button within the
    movie on level 10, I
    > would like the animation on the main timeline of the
    movie in level 5 to start
    > again from the point where it previously left off.
    > Is this possible?
    _level5.gotoAndPlay("someLabelframe");
    Use your regular action to target timeline or movie clips,
    just define the level number at the beginning of the path.
    Pretty much it :)
    Best Regards
    Urami
    !!!!!!! Merry Christmas !!!!!!!
    Happy New Year
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • High CPU usage while running a java program

    Hi All,
    Need some input regarding one issue I am facing.
    I have written a simple JAVA program that lists down all the files and directories under one root directory and then copies/replicates them to another location. I am using java.nio package for copying the files. When I am running the program, everything is working fine. But the process is eating up all the memories and the CPU usage is reaching upto 95-100%. So the whole system is getting slowed down.
    Is there any way I can control the CPU usage? I want this program to run silently without affecting the system or its performance.

    Hi,
    Below is the code snippets I am using,
    For listing down files/directories:
            static void Process(File aFile, File aFile2) {
              spc_count++;
              String spcs = "";
              for (int i = 0; i < spc_count; i++)
              spcs += "-";
              if(aFile.isFile()) {
                   System.out.println(spcs + "[FILE] " + aFile2.toURI().relativize(aFile.toURI()).getPath());
                   String newFile = dest + aFile2.toURI().relativize(aFile.toURI()).getPath();
                   File nf = new File(newFile);
                   try {
                        FileCopy.copyFile(aFile ,nf);
                   } catch (IOException ex) {
                        Logger.getLogger(ContentList.class.getName()).log(Level.SEVERE, null, ex);
              } else if (aFile.isDirectory()) {
                   //System.out.println(spcs + "[DIR] " + aFile2.toURI().relativize(aFile.toURI()).getPath());
                   String newDir = dest + aFile2.toURI().relativize(aFile.toURI()).getPath();
                   File nd = new File(newDir);
                   nd.mkdir();
                   File[] listOfFiles = aFile.listFiles();
                   if(listOfFiles!=null) {
                        for (int i = 0; i < listOfFiles.length; i++)
                             Process(listOfFiles, aFile2);
                   } else {
                        System.out.println(spcs + " [ACCESS DENIED]");
              spc_count--;
    for copying files/directories:public static void copyFile(File in, File out)
    throws IOException {
    FileChannel inChannel = new
    FileInputStream(in).getChannel();
    FileChannel outChannel = new
    FileOutputStream(out).getChannel();
    try {
    inChannel.transferTo(0, inChannel.size(),
    outChannel);
    catch (IOException e) {
    throw e;
    finally {
    if (inChannel != null) inChannel.close();
    if (outChannel != null) outChannel.close();
    Please let me know if any better approach is there. But as I already said, currently it's eating up the whole memory.
    Thanks in advance.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Having Issues with High CPU Usage with fluxbox & pekwm

    Greetings,
    I have searched for this issue and it seems that something similar has happened in the past with an old xorg, and it seems that someone is having a similar issue that they can point to kde as being the culrpit. However in my case, this is a fresh install and is not using any kde libs. Please allow me to explain the issue.
    The power supply on my main computer finally gave out, and being incredibly poor at the moment I can not yet replace it. So, I pull out an older computer that I had once set up for my kids, but took it away from them when they were abusing it. I always make backup dvds and such monthly so I didn't have to worry about any lose of data, however I desired to keep my larger hard drives from my main computer. After testing to ensure that the hard drives were fine, I did some minor surgery, and did a fresh install of arch linux onto my back up computer. Since I prefer pekwm, I installed pekwm as my wm of choice, and outfitted it quickly with mpd+sonata, firefox, pcmanfm, and tint2. Then I rebooted into my pekwm 'desktop'.
    It was running sluggish. Firefox was easily maxing the cpu up and beyond 100% and it felt ten times worse than any heavy DE I used in the past. I checked to make sure I had the right video driver installed. As this computer runs a 64MB nVidia GeForce2 MX with TV out video card, I searched nvidia's page and the arch wiki, noting that the driver needed is nvidia-96xx. Well I had already suspected that during install, and thus had installed such driver. I double checked my xorg.config and it has the right driver listed.
    So I checked out some lighter browsers. I tried both Midori and Iron (which is similar to Chrome but without google spyware or whatever). Well both run better than firefox, Midori being the lightest one, but Iron quickly being my favorite. Still, the problem remained. Moving windows caused cpu spikes, opening more than one tab, or more than one program caused cpu spikes and the computer to slow down and sputter, freezing at times.
    So I tried out another wm, fluxbos, which is another of my favorites. Seemed somewhat better but only fractionally, which I consider odd because pekwm has always seemed snappier than fluxbox to me in the past. Running lxtask (still mouse dependent, sorry lol), I was able to take note of the following...
    FLUXBOX
    lxtask 6% CPU usage average
    PCManFM 5% CPU Average
    Fluxbox 1% to 2% cpu usage
    gksu 3% cpu usage
    pidgin 3% to 7% cpu usage
    firefox up to 62% cpu usage
    midori up to 38% cpu usage
    iron up to 50% cpu usage
    mpd 11% cpu uage
    Xorg (with no window movement) 2% cpu usage
    Xorg (moving windows around) up to 80% cpu usage
    PEKWM
    lxtask 6% CPU
    pidgin 7% cpu
    tint2 1% cpu
    pekwm 1% to 5% cpu
    pcmanfm 7% cpu
    firefox up to 85% cpu
    python 1% cpu
    midori up to 38% cpu
    iron up to 25% cpu (odd...)
    Xorg (with no window movement) 1% cpu
    Xorg (when moving windows around) up to 80% cpu
    Both were using around 118 MB RAm and weren't yet touching swap. As I see it I am  thinking xorg  or video driver related, yet I already made sure that I had the correct video driver. Here's my Xorg.conf
    # nvidia-xconfig: X configuration file generated by nvidia-xconfig
    # nvidia-xconfig: version 1.0 (buildmeister@builder63) Thu Jun 25 18:57:07 PDT 2009
    Section "ServerLayout"
    Identifier "Layout0"
    Screen 0 "Screen0" 0 0
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Mouse0" "CorePointer"
    EndSection
    Section "Files"
    EndSection
    Section "InputDevice"
    # generated from default
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/psaux"
    Option "Emulate3Buttons" "no"
    Option "ZAxisMapping" "4 5"
    EndSection
    Section "InputDevice"
    # generated from default
    Identifier "Keyboard0"
    Driver "kbd"
    EndSection
    Section "Monitor"
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "Unknown"
    HorizSync 30.0 - 110.0
    VertRefresh 50.0 - 150.0
    Option "DPMS"
    EndSection
    Section "Device"
    Identifier "Device0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    SubSection "Display"
    Depth 24
    Modes "1600x900" "1024x768" "800x600" "640x480"
    EndSubSection
    EndSection
    Here's some specs on this computer, including video cards and such...
    Computer
    Summary
    Computer
    Processor Intel(R) Pentium(R) 4 CPU 1.60GHz
    Memory 1034MB (239MB used)
    Operating System Arch Linux
    User Name mythus (Travis K. Randall)
    Date/Time Thu 08 Oct 2009 05:24:52 PM CDT
    Display
    Resolution 1600x900 pixels
    OpenGL Renderer GeForce2 MX/AGP/SSE2
    X11 Vendor The X.Org Foundation
    Multimedia
    Audio Adapter ICH - Intel 82801BA-ICH2
    Input Devices
    Macintosh mouse button emulation
    AT Translated Set 2 keyboard
    Power Button
    Power Button
    PC Speaker
    Logitech USB Optical Mouse
    Printers
    No printers found
    SCSI Disks
    ATA ST3160212A
    ATA IC35L090AVV207-0
    LITE-ON LTR-16102B
    TSSTcorp CD/DVDW TS-H552D
    Operating System
    Version
    Kernel Linux 2.6.30-ARCH (i686)
    Compiled #1 SMP PREEMPT Wed Sep 9 12:37:32 UTC 2009
    C Library GNU C Library version 2.10.1 (stable)
    Default C Compiler GNU C Compiler version 4.4.1 (GCC)
    Distribution Arch Linux
    Current Session
    Computer Name norova
    User Name mythus (Travis K. Randall)
    Home Directory /home/mythus
    Desktop Environment Unknown (Window Manager: Fluxbox)
    Misc
    Uptime 11 hours, 38 minutes
    Load Average 0.20, 0.38, 0.34
    Kernel Modules
    Loaded Modules
    ipv6 IPv6 protocol stack for Linux
    reiserfs ReiserFS journaled filesystem
    usbhid USB HID core driver
    hid
    arc4 ARC4 Cipher Algorithm
    ecb ECB block cipher algorithm
    snd_seq_dummy ALSA sequencer MIDI-through client
    rt2500pci Ralink RT2500 PCI & PCMCIA Wireless LAN driver.
    snd_seq_oss OSS-compatible sequencer module
    rt2x00pci rt2x00 pci library
    snd_seq_midi_event MIDI byte <-> sequencer event coder
    rt2x00lib rt2x00 library
    snd_seq Advanced Linux Sound Architecture sequencer.
    led_class LED Class Interface
    snd_seq_device ALSA sequencer device management
    input_polldev Generic implementation of a polled input device
    mac80211 IEEE 802.11 subsystem
    snd_intel8x0 Intel 82801AA,82901AB,i810,i820,i830,i840,i845,MX440; SiS 7012; Ali 5455
    uhci_hcd USB Universal Host Controller Interface driver
    snd_pcm_oss PCM OSS emulation for ALSA.
    fan ACPI Fan Driver
    cfg80211 wireless configuration support
    ppdev
    ehci_hcd USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    snd_mixer_oss Mixer OSS emulation for ALSA.
    snd_ac97_codec Universal interface for Audio Codec '97
    nvidia
    lp
    eeprom_93cx6 EEPROM 93cx6 chip driver
    parport_pc PC-style parallel port driver
    ohci1394 Driver for PCI OHCI IEEE-1394 controllers
    parport
    psmouse PS/2 mouse driver
    ac97_bus
    ieee1394
    serio_raw Raw serio driver
    8139too RealTek RTL-8139 Fast Ethernet driver
    e100 Intel(R) PRO/100 Network Driver
    snd_pcm Midlevel PCM code for ALSA.
    pcspkr PC Speaker beeper driver
    battery ACPI Battery Driver
    8139cp RealTek RTL-8139C+ series 10/100 PCI Ethernet driver
    snd_timer ALSA timer interface
    i2c_core I2C-Bus main module
    iTCO_wdt Intel TCO WatchDog Timer Driver
    mii MII hardware support library
    evdev Input driver event char devices
    snd Advanced Linux Sound Architecture driver for soundcards.
    ac ACPI AC Adapter Driver
    iTCO_vendor_support Intel TCO Vendor Specific WatchDog Timer Driver Support
    usbcore
    soundcore Core sound module
    sg SCSI generic (sg) driver
    shpchp Standard Hot Plug PCI Controller Driver
    snd_page_alloc Memory allocator for ALSA system.
    processor ACPI Processor Driver
    thermal ACPI Thermal Zone Driver
    pci_hotplug PCI Hot Plug PCI Core
    intel_agp
    button ACPI Button Driver
    agpgart AGP GART driver
    rtc_cmos Driver for PC-style 'CMOS' RTCs
    rtc_core RTC class support
    rtc_lib
    ext4 Fourth Extended Filesystem
    mbcache Meta block cache (for extended attributes)
    jbd2
    crc16 CRC16 calculations
    sr_mod SCSI cdrom (sr) driver
    cdrom
    sd_mod SCSI disk (sd) driver
    ata_piix SCSI low-level driver for Intel PIIX/ICH ATA controllers
    ata_generic low-level driver for generic ATA
    pata_acpi SCSI low-level driver for ATA in ACPI mode
    libata Library module for ATA devices
    floppy
    scsi_mod SCSI core
    Display
    Display
    Display
    Resolution 1600x900 pixels
    Vendor The X.Org Foundation
    Version 1.6.3.901
    Monitors
    Monitor 0 1600x900 pixels
    Extensions
    BIG-REQUESTS
    Composite
    DAMAGE
    DOUBLE-BUFFER
    DPMS
    DRI2
    GLX
    Generic Event Extension
    MIT-SCREEN-SAVER
    MIT-SHM
    NV-CONTROL
    NV-GLX
    RANDR
    RECORD
    RENDER
    SECURITY
    SHAPE
    SYNC
    X-Resource
    XC-MISC
    XFIXES
    XFree86-DGA
    XFree86-VidModeExtension
    XINERAMA
    XInputExtension
    XKEYBOARD
    XTEST
    XVideo
    OpenGL
    Vendor NVIDIA Corporation
    Renderer GeForce2 MX/AGP/SSE2
    Version 1.5.8 NVIDIA 96.43.13
    Direct Rendering Yes
    Processor
    Processor
    Processor
    Name Intel(R) Pentium(R) 4 CPU 1.60GHz
    Family, model, stepping 15, 1, 2 (Pentium 4)
    Vendor Intel
    Configuration
    Cache Size 256kb
    Frequency 1594.77MHz
    BogoMIPS 3190.44
    Byte Order Little Endian
    Features
    FDIV Bug no
    HLT Bug no
    F00F Bug no
    Coma Bug no
    Has FPU yes
    Cache
    Cache information not available
    Capabilities
    fpu Floating Point Unit
    vme Virtual 86 Mode Extension
    de Debug Extensions - I/O breakpoints
    pse Page Size Extensions (4MB pages)
    tsc Time Stamp Counter and RDTSC instruction
    msr Model Specific Registers
    pae Physical Address Extensions
    mce Machine Check Architeture
    cx8 CMPXCHG8 instruction
    apic Advanced Programmable Interrupt Controller
    sep Fast System Call (SYSENTER/SYSEXIT)
    mtrr Memory Type Range Registers
    pge Page Global Enable
    mca Machine Check Architecture
    cmov Conditional Move instruction
    pat Page Attribute Table
    pse36 36bit Page Size Extensions
    clflush Cache Line Flush instruction
    dts Debug Store
    acpi Thermal Monitor and Software Controlled Clock
    mmx MMX technology
    fxsr FXSAVE and FXRSTOR instructions
    sse SSE instructions
    sse2 SSE2 (WNI) instructions
    ss Self Snoop
    ht HyperThreading
    tm Thermal Monitor
    up smp kernel running on up
    pebs Precise-Event Based Sampling
    bts Branch Trace Store
    Memory
    Memory
    Total Memory 1034084 kB
    Free Memory 94276 kB
    Buffers 40536 kB
    Cached 700112 kB
    Cached Swap 0 kB
    Active 170788 kB
    Inactive 726844 kB
    Active(anon) 74112 kB
    Inactive(anon) 88348 kB
    Active(file) 96676 kB
    Inactive(file) 638496 kB
    Unevictable 12 kB
    Mlocked 12 kB
    High Memory 139144 kB
    Free High Memory 252 kB
    Low Memory 894940 kB
    Free Low Memory 94024 kB
    Virtual Memory 2931852 kB
    Free Virtual Memory 2931852 kB
    Dirty 12 kB
    Writeback 0 kB
    AnonPages 156996 kB
    Mapped 57392 kB
    Slab 24260 kB
    SReclaimable 18864 kB
    SUnreclaim 5396 kB
    PageTables 1376 kB
    NFS_Unstable 0 kB
    Bounce 0 kB
    WritebackTmp 0 kB
    CommitLimit 3448892 kB
    Committed_AS 404212 kB
    VmallocTotal 122880 kB
    VmallocUsed 27648 kB
    VmallocChunk 52368 kB
    DirectMap4k 32760 kB
    DirectMap4M 876544 kB
    Benchmarks
    CPU Blowfish
    CPU Blowfish
    This Machine 1595 MHz 50.176
    Intel(R) Celeron(R) M processor 1.50GHz (null) 26.1876862
    PowerPC 740/750 (280.00MHz) (null) 172.816713
    CPU CryptoHash
    CPU CryptoHash
    This Machine 1595 MHz 11.071
    CPU Fibonacci
    CPU Fibonacci
    This Machine 1595 MHz 74.202
    Intel(R) Celeron(R) M processor 1.50GHz (null) 8.1375674
    PowerPC 740/750 (280.00MHz) (null) 58.07682
    CPU N-Queens
    CPU N-Queens
    This Machine 1595 MHz 132.704
    FPU FFT
    FPU FFT
    This Machine 1595 MHz 104.630
    FPU Raytracing
    FPU Raytracing
    This Machine 1595 MHz 212.639
    Intel(R) Celeron(R) M processor 1.50GHz (null) 40.8816714
    PowerPC 740/750 (280.00MHz) (null) 161.312647
    So what I am wanting help with is finding the solution to the cpu usage so that I can use this computer at least until I can afford a new power supply or whatever. I am open to any good suggestions, though I must state I am not really interested in tiling wm's at the moment. I am just not a true minimalist.
    Thanks in advance for any and all help. I understand that there is a lot of info in this post, but it is my hope that with this info the problem can be solved. If there is info I didn't provide that is needed, please let me know.

    also check that you have
    session.screen0.opaqueMove false
    in your .fluxbox/init  this will probably help a bit if it is currently true,
    Last edited by Cyrusm (2009-01-26 13:52:13)

Maybe you are looking for