Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: How to reduce CPU utilization

  1. #1
    Variable Bitrate
    Join Date
    Mar 2006
    Posts
    351
    Blog Entries
    1

    How to reduce CPU utilization

    My fusion brain only controls outputs (relays) and I noticed on my computer there is some heavy CPU utilization by fusion brain (~50% on an AMD XP2200) and I believe this is because it is constantly monitoring the inputs. What can I do to reduce this since I do not need to monitor the inputs? Perhaps change the sampling rates? Change the taskpriority?

  2. #2
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,049
    Quote Originally Posted by BlackStealth View Post
    My fusion brain only controls outputs (relays) and I noticed on my computer there is some heavy CPU utilization by fusion brain (~50% on an AMD XP2200) and I believe this is because it is constantly monitoring the inputs. What can I do to reduce this since I do not need to monitor the inputs? Perhaps change the sampling rates? Change the taskpriority?
    The best way is to lower the rate at which it samples. The lower the rate, the lesss CPU utilization.

    In the skin file the lines:
    Code:
      #ANIMATIONINTERVAL#50
      #ANALOGUEINTERVAL#30
    change the timer values. They are both in milliseconds before the next update. So with an ANIMATIONINTERVAL of 50, every 50mS it will send the state of the outputs. You can probably change this to 100mS to 250mS. And for analogue interval, right now it tries to read every 30mS, so if you change that to like 5000mS then every 5 seconds it will check. Change it to 60000mS and it will check every minute.
    Fusion Brain Version 6 Released!
    1.9in x 2.9in -- 47mm x 73mm
    30 Digital Outputs -- Directly drive a relay
    15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
    Buy now in the MP3Car.com Store

  3. #3
    Variable Bitrate
    Join Date
    Mar 2006
    Posts
    351
    Blog Entries
    1
    Thanks this is exactly what I was hoping for!

  4. #4
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,049
    Quote Originally Posted by BlackStealth View Post
    Thanks this is exactly what I was hoping for!
    Did it reduce it for you enough? I am curious as to how efficient the program is on a weaker system. My development PC is a beast!
    Fusion Brain Version 6 Released!
    1.9in x 2.9in -- 47mm x 73mm
    30 Digital Outputs -- Directly drive a relay
    15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
    Buy now in the MP3Car.com Store

  5. #5
    Variable Bitrate
    Join Date
    Mar 2006
    Posts
    351
    Blog Entries
    1
    Yeah, it reduced CPU utilization from 50% down to 15%. Thanks.

  6. #6
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,049
    No problem. Is this on a via system?
    Fusion Brain Version 6 Released!
    1.9in x 2.9in -- 47mm x 73mm
    30 Digital Outputs -- Directly drive a relay
    15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
    Buy now in the MP3Car.com Store

  7. #7
    Car Audio Moderator durwood's Avatar
    Join Date
    Sep 2006
    Location
    Chicagoland (St. Charles,IL)
    Posts
    2,028
    oh wow, it uses that much CPU on an amd XP2200? Yikes!

    If I plan on using that to monitor my oem buttons, I don't think I would want to set it to monitor button presses every 5-6 seconds. I would need it to monitor fairly often and a 50% CPU usuage on top of my current CPU usage would bring it to a crawl. Are there any other tweaks to use less CPU or is that it?

  8. #8
    Variable Bitrate
    Join Date
    Mar 2006
    Posts
    351
    Blog Entries
    1
    My fusion is connected through the slower USB 1.1, dunno if that has any impact on CPU utilization. My setup is an HP notebook, AMD Athlon XP.

  9. #9
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,049
    If it is USB 1, then yes it goes much slower, so it creates a backlog.

    I have run it on a P3 800Mhz or 1Ghz, I cannot remember, and it was negligable CPU with a PCI USB 2.0 card.
    Fusion Brain Version 6 Released!
    1.9in x 2.9in -- 47mm x 73mm
    30 Digital Outputs -- Directly drive a relay
    15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
    Buy now in the MP3Car.com Store

  10. #10
    Car Audio Moderator durwood's Avatar
    Join Date
    Sep 2006
    Location
    Chicagoland (St. Charles,IL)
    Posts
    2,028
    ah ok. Good to know. I've got USB 2.0 so I guess it shouldn't be a problem off a p4m 1.8, especially if it works off that old mobo and P3 I donated to you.

    Thanks for the info.

Page 1 of 2 12 LastLast

Similar Threads

  1. Core Duo / Core 2 Duo Mini-ITX boards
    By RedGTiVR6 in forum General Hardware Discussion
    Replies: 153
    Last Post: 10-03-2010, 11:30 PM
  2. Motherboard or CPU....which one's dead?!
    By Munkeyd00d in forum General Hardware Discussion
    Replies: 2
    Last Post: 04-05-2006, 01:02 AM
  3. Windows Media Player CPU utilization at full
    By warnockm in forum Software & Software Development
    Replies: 0
    Last Post: 11-13-2005, 11:10 PM
  4. Replies: 2
    Last Post: 06-28-2005, 09:24 PM
  5. CPU Utilization, need advice
    By david_594 in forum General Hardware Discussion
    Replies: 11
    Last Post: 03-30-2004, 01:49 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •