locked
The PC is Too much rapid for run application stability RRS feed

  • Question

  • Hello

    who know a possibility to slow execution of software?
    either by clamping or reduction or resource use on the CPU to slow down!

    if i launch SAPgui only,it bug (0xc0150002),
    if run PROCmon in first time, after launch SAPGUI, all time good works if procmon is present and active


    THANK YOU
    Friday, September 25, 2009 1:02 PM

Answers

All replies

  • Hello,

    The error message simply indicates that a depency is missing. Usually I use depency walker to locate what, perhaps debugging process offers it some alternatives and it just needs some reconfiguration?

    /Znack
    Friday, September 25, 2009 1:51 PM
  • when I change the settings in the bios that I disable hyper-threading or I degrade the power of cpu , it work..

    if i use the real full PC fonctionality  it's bug


    ----

    Thanx
    Friday, September 25, 2009 2:38 PM
  • Yes, there are utilities to slow down an application by reducing it's CPU consumption.  Most of these tools are available for Terminal Server.  I wrote a product (sold long ago to TriCerat), Citrix bought one, Microsoft is including some capabilities in 2008 R2.  For the desktop OS you might still be able to fine "TAME", and possibly others out there.
    Saturday, September 26, 2009 12:44 PM
    Moderator
  • Hello ALL

    do you have a solution or a code to insert in the OSD.

    hat is super nice of you

    THX
    Monday, September 28, 2009 8:26 AM
  • If you can find tame, you include it in the package.  Inside the OSD change "FILENAME=" into "PARAMETERS=" and name tame as the FILENAME.  Most other solutions are system wide looking for rogue processes. 
    Wednesday, September 30, 2009 12:34 AM
    Moderator
  • hello
    I find TAME for trial 30day V6.0RC14 and 4.4.

    i dont knows use this, can you help me to use?


    THX
    Wednesday, September 30, 2009 9:46 AM
  • Bummer.  It used to be free.  Unless it changed, I pretty much answered you on how to use yesterday.  You'll have to read the doc that comes with it, but if you can figure out App-V and OSD editing, it should be a snap!
    Wednesday, September 30, 2009 10:39 AM
    Moderator
  • There are few listed on this link http://grandstreamdreams.blogspot.com/2008/07/windows-cpu-throttling-techniques.html and http://www.donationcoder.com/Software/Mouser/proctamer/ is where tame can be found
    GNU developer by choice ....
    Wednesday, September 30, 2009 1:50 PM
  • import os
    import sys
    import win32process
    import win32api
    import subprocess
    import win32con
    
    def setpriority(pid=None,priority=1):
        
        priorityclasses = [win32process.IDLE_PRIORITY_CLASS,
                           win32process.BELOW_NORMAL_PRIORITY_CLASS,
                           win32process.NORMAL_PRIORITY_CLASS,
                           win32process.ABOVE_NORMAL_PRIORITY_CLASS,
                           win32process.HIGH_PRIORITY_CLASS,
                           win32process.REALTIME_PRIORITY_CLASS]
        if pid == None:
            pid = win32api.GetCurrentProcessId()
        handle = win32api.OpenProcess(win32con.PROCESS_ALL_ACCESS, True, pid)
        win32process.SetPriorityClass(handle, priorityclasses[priority])
    
    if (len(sys.argv) == 0):
        print("usage: processtame.exe <appToLaunch&Tame>")
    else:
        if (os.path.exists(sys.argv[1])):
            app = subprocess.Popen(sys.argv[1])
            pid = app.pid
            setpriority(pid, 0)
            app.wait()

     

     

     

    Wednesday, September 30, 2009 2:02 PM
  • you can use the following script to do the process throtte http://mayankjohri.wordpress.com/2009/09/30/processtame/
    GNU developer by choice ....
    Wednesday, September 30, 2009 2:53 PM