Lower priority of a resource hog?

Is there anyway to lower the prioirty of a resource hog? 

I am sure you feel better for having a rant, but you haven't provided any information about your system, so no suggestions for help are possible.
I have a 5 year old XP box and iTunes uses 0-2% CPU capacity when laying AAC files. iTunes has always been fairly slow to load but it is faster than Firefox on my system.
You can find old versions of iTunes on FileHippo. The mods don't like us posting the link but it is easy to find.

Similar Messages

  • RTSJ thread priorities, Lower priority thread running

    Hi,
    I'm experimenting with a thread pool that I've written containing javax.realtime.RealtimeThreads. I'm trying to use this to replace a java.util.concurrent.Exectutor type thread pool in an existing application. My design involves a Queue where the RealtimeThreads wait on until a Task is submitted for execution. All the threads in the pool start at the lowest priority and upon the submission of a task, I have written some logic to increase the priorities of the threads that I want run.
    At a given time, there could be many threads with tasks assigned to them and some without tasks. My algorithm to decide which thread is to be given the CPU, runs every time a task is submitted to the system as well as at the end of the current thread execution. I assumed that If I set a thread's priority higher than the others it would automatically be given the CPU and all I have to do is to set the Priority using rtThreadObject.setPriority() method. I obtain the highest priority in the system through PriorityScheduler.instance().getMaxPriority() method and do similarity to obtain the Normal and Lowest priorities in the system.
    Recently I added some code to change the priority of a thread from another, and noticed that the target thread's priority is higher than the one that is currently running. I'm not sure how a lower priority thread can run, when a higher priority thread is already in the system. I'm wondering whether it's to do with the current thread of execution getting woken up by a task submission (I do a QueueObject.notify() ) and continue to run at the lower priority, I have my doubts on it. Can anyone give some ideas as to how such an instance could exist?
    I'm developing on a Linux-RT kernel with RTSJ 2.1
    Thanks,
    Vidura

    Sorry for the delayed response.
    Thanks a lot for the answer. This certainly might be the case in my scenario as well. However, is there a way that I could query the active priority from a Thread and confirm? I also have a few questions just to confirm my thoughts on such a scenario.There is no way to query the active priority of a thread.
    1) Can Priority inheritance take place if a high priority thread is blocked on some IO operation say even a simple System.out.println ?Priority inheritance occurs when a thread holding a monitor causes a higher-priority thread to block trying to acquire that monitor. At that point the thread holding the monitor is given the priority of the thread it is blocking. So this can happen anytime a lock is held, regardless of what the thread is doing at the time.
    2) In the simple scenario of a couple of threads with different being active at the same time with Java or RTSJ in particular, as long as the threads are not blocked or competing for a shared resource, is it possible to assume that the highest priority thread will get the CPU 100% of the time?The simple answer is "yes" but reality is more complex. Shared resources occur at the application, VM/runtime-library, and OS levels. You would have to avoid them at all levels to ensure the highest base priority thread is also the highest active priority.
    3) If we as programmers takes great care in preventing IO operations (or controlling any IO operations, i.e. where to place them in the code) even simple as a System.out, priority inversions or inheritance would not take place?Priority inheritance is not directly related to I/O operations - the issue is whether methods are synchronized or not.
    4) In such a scenario highlighted in 3, what practices could be used to debug the code if needed?On Solaris we use DTrace and the Thread Scheduling Visualizer for debugging timing/scheduling relationships. I'm afraid we don't have anything equivalent on Linux at this this time.
    As for exactly what I'm trying to do, it's a bit convoluted as I'm trying to achieve predictability in an existing product using RTSJ, that wouldn't be used in the trivial real-time sense, like an embedded environment, rather as a normal application. I will follow up with more details of it if needed.Don't worry, we have numerous users applying real-time Java to "normal" applications. :)
    David Holmes

  • CPU resource hog FMLE 3 vs. FME 2.5

    Has anyone experienced a huge CPU drain by FMLE 3 - going to over 90% (and sometimes 100%) which is causing jerky video capture and audio skips.
    I'm encoding at a lower level of 500 kbps for video and 32 kbps for audio with VP6 and the capture to hard disk is so very jerky.
    FME 2.5 works great at the same settings on the same machine and doesn't use more than 55% of CPU resources, with a very clean capture. I've gone back to using 2.5 till I can figure out what's going on with 3.0/3.1
    Why is FMLE 3/3.1 such a resource hog? Any help and advice would be much appreciated.
    My system specs are:
    Core2Duo Laptop 2.0 gHz with 4GB Ram
    Windows 7 Home Premium 32 bit (and 64 bit)
    Pesi
    http://www.webcastlive.mediastreams.ca
    http://www.mediastreams.ca

    OK - here's where it stands with both input and output size set the same (720X480) and all other factors remaining constant as before:
    v. 2.5
    CPU resources used when not recording: 15-17%
    CPU resources used up while recording: 40-50%
    v.3.1
    CPU resources used when not recording: 15-20%
    CPU resources used while recording: 75-85% (peaking occasionally to 95%)
    (still 25% more than v.2.5 but manageable).
    Does this mean that I am always forced to stream and the larger output size?
    Here's another variation of the test with v.3.1 ...
    Input size: 360X240 Output size: 720X480 - CPU used: 98% !!!
    Input size: 360X240 Output size: 600X400 - CPU used: 72%
    (What's the implication of using a smaller input and larger output size? How would it affect the quality of the end result video?)
    Input size: 360X240 Output size: 360X240 - CPU used: 22% !!!
    Input size: 720X480 Output size: 360X240 - CPU used: 50%
    Input size: 720X480 Output size: 600X400 - CPU used: 90-95%
    Input size: 720X480 Output size: 500X334 - CPU used: 75%
    (Unfortunately Input sizes are fixed by fmle and cannot go between 720X480 and 360X240)
    Note: despite the interesting results of the input/output tests, its still evident that 3.1 uses 25% more CPU resources than 2.5, making it the less efficient of the 2.

  • Playback Skipping Problems with iTunes 7.3 or later - Resource Hog?

    Audio playback on my computer was fine on all versions of iTunes upto and including version 7.2. The problem started when Apple released iTunes 7.3 (for the iPhone - which I don't have). Audio playback was fine if iTunes was the only program running. But if I was also using another program - like a simple 3d game or even just using the lasso tool in Photoshop - then playback sk..sk..skipped constantly. So I closed iTunes and tested my music library on Windows Media Player 11 with other programs running and audio playback was consistently good - no skipping at all. But I'd rather not use Windows Media Player if iTunes can work properly! I suspected that iTunes 7.3 had become a resource hog. When iTunes 7.4.2 was released I was hoping that the problem would be solved. It wasn't. So I uninstalled iTunes 7.4.2, re-installed iTunes 7.2 (the last version that worked) and audio playback (with other programs running) is great again. So I don't think the problem has arisen from installing any other programs. My question is : WHAT THE **** HAVE APPLE DONE TO iTUNES since version 7.2?! Please help, because I don't want to be stuck with this version and never be able to update!

    anybody?

  • Could low priority transmit B2B credit be configured on MDS 9000 switches?

    According to cisco "Slow Drain Device Detection and Congestion Avoidance"
    Quote as following
    "1 in every 8 credits (with a maximum of 15) is reserved for absolute priority traffic only. All the user and data traffic (which could be high, medium, or low priority) is sent using the remaining shared credits."
    Is it just a default or configurable setting? If it is not configurable, how if data traffic congested the link? As data traffic can only use low priority B2B credit, total B2B credit will be remaining non-0 all the time, so Link reset will not occur anyway? How could low priority B2B credit get recovered?
    Thanks in advance for any of your help!

    Number of credits should depend on the receive frame size. If let's say you double the frame size setting, the receive B2B credit should half.

  • Trying to turn off spotlight because it's a resource hog.  open terminal and enter command but it won't respond or even ask for password.

    trying to turn off spotlight because it's a resource hog.  open terminal and enter command but it won't respond or even ask for password.

    Step #1:
    In System Preferences click on Spotlight.
    Step #2:
    Click on the Privacy tab here.
    Step #3:
    Click on the + button here and when the window opens click on "Macintosh HD" (or whatever you've named your HD) and then click the Choose button.

  • Low priority and high priority queue

    Hi
    we have high priority and low priority queue's. Functionality wise i know that time critical messages will be sent through high priority queue's and low priority messages will be sent
    through low priority queues. But like to know what technicality makes this separation of
    low priority and high priority queue's ? The crus of the question is what technical setting(s)
    makes the queue as high priority and what technical setting(s) makes the queue as low priority
    queue.
    Thanks
    kumar

    i Michal
    I am talking abt queue prioritization on Integration eninge only.
    I am good with queue prioritization and am able to successfully implement
    the same. We are using only PI7.0.
    My question is what is the technical difference between high priority
    and low priority queues ? what technical setting makes it a high priority
    queue and what technical setting makes a low priority queue ?
    Your answer:
    how the system reacts to new messages if almost all queues are already blocked
    for some types of messages
    My comment: what setting makes the system to behave like that ? what property
    of that queue makes them to behave like that ?
    Thanks
    kumar

  • Worklist has no low priority items (only Very High, High and Medium)

    This is the default:
    Low
    0-25%
    Medium
    26-50%
    High
    51-75%
    Very High
    76-100%
    However, the worklist has no low priority, only Very High, High and Medium.

    Similar situation here. I fitted a BT accelerator a month after the switch to ADSL2+ to get that last little bit of speed and instead it caused repeated dropouts. My IP profile got hammered and SNR set crazily high as a result.
    Removed the accelerator and have a rock solid line again. That was 3 weeks ago and my profile is now at 12000 with SNR down to 12db. Hopefully will be back to where I was before the accelerator some time by the end of January.
    I am using a Dlink 2460 so could force the SNR down with DMT software but am holding off at the moment as BT's profiling is so aggressive I don't want to give it any excuse to hammer my line again.

  • Low priority VM and Quick migration

    Hi ,
    When we pause or set one of hyper-v host on maintenance , the fail-over cluster migrate VMs to another hosts , some VMs migrate  using live migrated and the others  using Quick migrated
    I notice the VMs that are  prioritized with low  priority using Quick migration
    Why not all VMs doesn't use live migration ?
    thanks
    Ramy

    I don't think this is related to priority. My experience has been that VMs that are running are live-migrated, while VMs that are paused or powered down cannot be live-migrated but must be quick migrated. This makes sense if you think about it. Live-migration
    migrates a running VM's memory and settings then the storage handle. None of these apply if the VM is down. 
    Sam Boutros, Senior Consultant, Software Logic, KOP, PA http://superwidgets.wordpress.com (Please take a moment to Vote as Helpful and/or Mark as Answer, where applicable) _________________________________________________________________________________
    Powershell: Learn it before it's an emergency http://technet.microsoft.com/en-us/scriptcenter/powershell.aspx http://technet.microsoft.com/en-us/scriptcenter/dd793612.aspx

  • Yaourt building aur stuff slowly very low priority

    hey guys, all the sudden when yaourt builds aur packages its like +15 priority, very slow, the one iom trying to build this moment is firefox-pgo-beta , its executeing the build commands at ridiculously low priority its been building for 3 days and isnt done, this didnt happen before. ive done allot of research and dont want to bother anyone but though this may have come up for someone else before. Thanks guys

    Please don't cross post. Creating new threads because you're impatient is no different than bumping your own thread frequently.

  • Com.apple.mtmd: low priority thinning needed for volume Macintosh HD ??

    Why do I have the following in my Console log ? I have 20 GB left on my HD and 250 GB HD Total drive:
    11-08-14 8:00:00.842 PM com.apple.mtmd: low priority thinning needed for volume Macintosh HD (/) with 12.4 <= 20.0 pct free space

    I see the same thing in the Console logs after my MacBook has crashed
    This is what the last entries in the log say:
    25.11.11 16:39:20,968 [0x0-0x55055].com.apple.ScreenSaver.Engine: Unrecognized XML in parse_init_data_file: userid
    25.11.11 16:39:20,969 [0x0-0x55055].com.apple.ScreenSaver.Engine: Skipping: 0
    25.11.11 16:39:20,969 [0x0-0x55055].com.apple.ScreenSaver.Engine: Skipping: /userid
    25.11.11 16:39:20,969 [0x0-0x55055].com.apple.ScreenSaver.Engine: Unrecognized XML in parse_init_data_file: teamid
    25.11.11 16:39:20,969 [0x0-0x55055].com.apple.ScreenSaver.Engine: Skipping: 0
    25.11.11 16:39:20,969 [0x0-0x55055].com.apple.ScreenSaver.Engine: Skipping: /teamid
    25.11.11 16:39:20,969 [0x0-0x55055].com.apple.ScreenSaver.Engine: Unrecognized XML in parse_init_data_file: hostid
    25.11.11 16:39:20,969 [0x0-0x55055].com.apple.ScreenSaver.Engine: Skipping: 4188391
    25.11.11 16:39:20,969 [0x0-0x55055].com.apple.ScreenSaver.Engine: Skipping: /hostid
    25.11.11 16:39:20,969 [0x0-0x55055].com.apple.ScreenSaver.Engine: Unrecognized XML in parse_init_data_file: result_name
    25.11.11 16:39:20,969 [0x0-0x55055].com.apple.ScreenSaver.Engine: Skipping: LATeah0040S_928.0_214600_0.0_2
    25.11.11 16:39:20,969 [0x0-0x55055].com.apple.ScreenSaver.Engine: Skipping: /result_name
    25.11.11 16:39:20,969 [0x0-0x55055].com.apple.ScreenSaver.Engine: Unrecognized XML in parse_init_data_file: starting_elapsed_time
    25.11.11 16:39:20,969 [0x0-0x55055].com.apple.ScreenSaver.Engine: Skipping: 5011.614499
    25.11.11 16:39:20,969 [0x0-0x55055].com.apple.ScreenSaver.Engine: Skipping: /starting_elapsed_time
    25.11.11 16:39:20,969 [0x0-0x55055].com.apple.ScreenSaver.Engine: Unrecognized XML in parse_init_data_file: computation_deadline
    25.11.11 16:39:20,969 [0x0-0x55055].com.apple.ScreenSaver.Engine: Skipping: 1323396047.000000
    25.11.11 16:39:20,969 [0x0-0x55055].com.apple.ScreenSaver.Engine: Skipping: /computation_deadline
    25.11.11 16:39:21,000 kernel: (default pager): [KERNEL]: ps_select_segment - send HI_WAT_ALERT
    25.11.11 16:39:21,000 kernel: macx_swapon SUCCESS
    25.11.11 16:39:23,138 SIMBL Agent: received {
        NSApplicationName = "einstein_S5R6_5.01_graphics_i686-apple-darwin";
        NSApplicationPath = "/Library/Application Support/BOINC Data/slots/1/../../projects/einstein.phys.uwm.edu/einstein_S5R6_5.01_graphics_i 686-apple-darwin";
        NSApplicationProcessIdentifier = 1623;
        NSApplicationProcessSerialNumberHigh = 0;
        NSApplicationProcessSerialNumberLow = 364633;
        NSWorkspaceApplicationKey = <NSRunningApplication: 0x10067e260 ((null) - 1623)>;
    25.11.11 16:39:23,159 com.apple.launchd.peruser.501: (com.apple.pbs) Throttling respawn: Will start in 9 seconds
    25.11.11 16:39:24,000 kernel: (default pager): [KERNEL]: ps_select_segment - send HI_WAT_ALERT
    25.11.11 16:39:25,000 kernel: macx_swapon SUCCESS
    25.11.11 16:47:44,000 kernel: (default pager): [KERNEL]: default_pager_backing_store_monitor - send LO_WAT_ALERT
    25.11.11 16:47:44,000 kernel: macx_swapoff SUCCESS
    25.11.11 16:49:28,011 com.apple.mtmd: low priority thinning needed for volume DD (/) with 17.2 <= 20.0 pct free space
    25.11.11 17:00:00,999 com.apple.mtmd: low priority thinning needed for volume DD (/) with 17.2 <= 20.0 pct free space
    25.11.11 17:00:01,558 mdworker: Unable to talk to lsboxd
    27.11.11 11:21:27,276 LKDCHelper: Starting (uid=501)
    27.11.11 11:21:33,678 com.apple.backupd: Starting standard backup
    27.11.11 11:21:34,092 com.apple.backupd: Error -35 while resolving alias to backup target
    27.11.11 11:21:34,000 kernel: nspace-handler-set-snapshot-time: 1322389296
    27.11.11 11:21:44,108 com.apple.backupd: Backup failed with error: 19
    27.11.11 11:23:13,255 com.apple.mtmd: low priority thinning needed for volume DD (/) with 16.4 <= 20.0 pct free space
    27.11.11 11:23:13,256 com.apple.mtmd: attempting to thin because of low free space on DD (/) by removing 2011-11-27 09:21:36 +0000

  • XP Home Firefox 31.0 faster with lower priority

    Quickly opening ten tabs, firefox seems to get in its own way and takes forever at 100% cpu.
    But if I lower the firefox priority (task manager, processes, right click on firefox, change priority) to "below normal" then it's a lot faster and less than solid 100% cpu.
    I'd guess something Firefox does when waiting, say a spin loop, is displacing what it's waiting for unless it runs at the lower priority.
    Solution in that case, it shouldn't be doing whatever it's doing when waiting.
    I think this has been a problem since 27.0. 26.0 had no such problem.
    XP Home, single core cpu, 1.3 GHz. Dual core cpu's may not notice it since they can both spin wait and work at the same time.

    Another clue : sometimes on a new page the CPU usage and memory usage square plots from the task manager prints through and is preserved as a snapshot on the Firefox completed page.
    It's somehow competing with task manager and screwing things up.

  • Is IOS5 a resource hog for iPads?

    Ever since updating my iPad (original version iPad) I have experienced a marked increase I the number of times I have been knocked out of an app. Particularly with Safari. I have been diligent about closing down apps (double push home button, close out each one individually) and restarting iPad once daily. But still the problem exists and I suspect Safari is taking up more resource and services in IOS5 than its predecessor.
    Does anyone have similar experience?

    There have been a few threads discussing this very same issue. I had some problems with Safari crashing on me as well. I deleted a couple of apps and then restored my iPad - to the backup that I made a couple of days before the update - when my iPad was working just fine. Before the update, I wasn't closing apps or doing anything at all to free memory.
    Since the restore, Safari has been much better, but I have still crashed a couple of times. I have also experienced crashes with other apps that pull content from the Internet. I go to Settings>General>Diagnostics &amp; Usage and I can see all of the low memory warnings and the crash data - not that I can interpre it correctly - but it shows me all of the times that Safari crashed - due to low memory issues.
    Frankly, I thought that was not supposed to happen with the iPad, - apps should shut down as needed so you don't have to close them on your own. So I'm not sure where the problem lies - but to me - that indicates that there is a problem somewhere with memory issues.

  • Low priority process

    Hi all,
    I've got a little problem, i've got two java programs that have to run on a dedicated linux machine.
    One program has to be started two times a day and needs to much memory and cpu time.
    The second program should run always during the day and has to be started at startup, and it needs very little cpu time....
    how can I implement all this?
    how can set low and high priority to the programs?
    is it possible?
    suggests, opinions, warnings all accepted!!
    thanks a lot
    Stefano

    Do not use Thread.setPriority(int) if you arerunning
    your apps in different JVMs.Why, I was under the impression that (most) JVMs now
    created native threads, where this method would be
    translated into effectively "nice"ing threads.In general, the details of Java thread->native thread/process mapping are hidden. You should never code anything that relies on any thread implementation assumptions if you intend to keep platform independence.
    regards to
    vlad_roubtsov

  • Macbook Pro taking priority on network and hogging bandwith.

    We have 5 15" Macbook Pro's in our office. All are running OSX, i5 or i7 Processors, 8GB Ram, and are running on the Apple Time Capsule router (802.11n). We use a high speed ISP with average speeds of 20 Mb/s. Every person has the backup for the time machine configured to run when manually initiated rather than the automatic backup. Most of us have to use a virtual machine (VMWare Fusion) or remote desktop to connect to our clients. All of us can connect to and use our VM or RDP just fine until one of our Macbook Pros connects. This single Mac takes up all of our bandwith on the network and slows the other Mac's down horribly. Upload and download speeds reduce to almost .08 Mb/s. The one Mac takes priority over all of the other Mac's that are configured almost the exact same and has perfect throughput. We turned off the VM, RDP, and any open application on the Mac and it still uses the bulk of the bandwith. The only way to control this singled out Mac is to turn off the airport and all of the other Macs work fine. How do we fix this?

    Out of curiosity have you tried a wired connection and if so does it exhibit the same behavior?
    Has the ip address on this Mac been manually assigned?

Maybe you are looking for

  • Multiple possibilities for the same response

    Is it possible to make an IF statement accept multiple responses in a console application... Example: In this piece of code, I have an if statement that only accepts OK as a response, and I don't want to make the same piece millions of times just to

  • Is there a way on how to create different Synch settings for iPhone / iPad

    Okay, My first time in this forum. I have an iPad and an iPhone. Everytime I sync my iPad and my iPhone with iTunes the sync settings are the same in both devices. So everytime I sync devices Apps that I have in my iPad show up in iPhone and vice ver

  • "Discovery failed to null" error message when starting up Oracle Management

    hey folks, i am trying to get the Oracle Enterprise Manager to work and i get an error message. Here is what i've done so far. 1. Installed Oracle service. It is started (under Start>...>Services it says "Started"). 2. Created a Listener for the Orac

  • 1.9.5 Software Bugs

    1.9.5, build 17.17 was applied to my box this morning.  I now have the following software bugs. Some programs are missing program information such as an episode of Homeland on Showtime 865 9:00pm 12/10.  I had previously recorded this episode and rem

  • Any good book about LabIVEW for IMAQ Vision?

    I am very new to IMAQ vision (LabVIEW). I tried to read all of the tutorial on the NI web page, but it doesn't help that much. Is there any book recommended for the beginner (LabVIEW for IMAQ)? What I have to do with IMAQ is to write a program to mea