[SOLVED]Wine 100% cpu usage in some games

I'm using wine for almost 2yrs now, only to play counterstrike which it runs flawlessly. I today installed nfs undercover and it seems that cpu usage is always 100%(due to nfs.exe). From the nvidia control center I can see that the gpu temp is really low from which I can guess that the gpu is underutilized and so the game runs sluggishly. As I dont game that much in wine, I'm asking u guys that Is it supposed to be like this? or are there any tweaks?
Last edited by Soumyadeep (2010-09-09 10:46:46)

Soumyadeep wrote:thank u guys for ur replies, I guess wine is not ready yet for hardcore games but does a good job with wow, cs etc, marking this as solved.
Generally it is though. What's a 'hardcore' game? I play HoN through wine (long story) and I know that big resource hog NWN2 ran just the same FPS in wine as on the windows install. Those are even DirectX games, the extra cost of DirectX->OpenGL conversion is offset by the fact that you don't have to run a virus scanner and all those junk apps a typical windows install needs.
IMO wine is made for games of all kind. Now if only it worked better with Office and the Adobe apps....

Similar Messages

  • [10.1.2] Protected Mode causing 100% CPU Usage/Extra Processes on Win XP 32-bit?

    Hello,
    I'm not 100% sure if the two are related, but I have a client who was seeing 100% CPU usage using Adobe Acrobat Reader X 10.1.2 on Windows XP 32-bit and Firefox 11. The acrord32.exe process would hang around after closing the main window and eventually leading to tons of processes and his CPU at 100% use. I believe disabling Protected Mode may have solved this issue. I didn't see it documented anywhere so I figure I'd post about it here and see if anyone else was seeing this resolved as well.

    I noticed 'only' 50 % CPU usage. Not during Reader usage with ~ 20 %, but it started after closing main window.
    Two instances of acrord32.exe were created - the moment pdf was opened - of which one was using zero CPU.
    After opening another pdf, 2 more processes were created, so 4 in total. Have seen 2 of them using 100 %.
    Issue is easily recreated.
    This is all in 10.1.3, no fix from Adobe, only THE fix from you: turning of Protected Mode!
    After which now only one proces is created, with 1 to 3 pdf documents opened at same time.
    This instance is then nicely shutdown after the last pfd is closed.

  • HP LaserJet Pro MFP M127fn - DNS issue, hundreds of UDP connections affects my router 100% CPU usage

    Hi all,
    We've bought about ten pieces (HP LaserJet Pro MFP M127fn), tested only one the other 9 are waiting for their time to be sent in our branch offices. The MFP works fine, no complains till later that day I noticed that our Mikrotik Router was struguling with high CPU usage, it took me some time to find the issue and it was the new bought MFP. Don't know why but it creates hundreds of UDP connections and almost 100% CPU usage goes to DNS service. As soon as I shutdown the MFP and delete all the connections everything goes back to normal. I've disabled almost all services (HP web service, Ipv6, SNMP, AirPrint, SLP, LPD, WS-Discovery, Bonjour), leaving only Ipv4 but without luck the issue persists. Here are some print screens confirming my saying:
    http://i.imgur.com/UiOPSiu.jpg
    http://i.imgur.com/dlgObPb.jpg
    http://i.imgur.com/4RmQhot.jpg
    http://i.imgur.com/oBuo9UO.jpg
    http://i.imgur.com/Zf77V6b.jpg
    Don't know if it is the same case but it look like, found this post that ha no answer to the issue: http://h30434.www3.hp.com/t5/Printer-Networking-and-Wireless/New-HP-LaserJet-Pro-MFP-M127fw-network-...
    Why does this happen? And how to solve my issue? Thank you in advance.

    Hi @EugenX ,
    I have brought your issue to the attention of an appropriate team within HP. They will likely request information from you in order to look up your case details or product serial number. Please look for a private message from an identified HP contact. Additionally, keep in mind not to publicly post serial numbers and case details.
    If you are unfamiliar with how the Forum's private message capability works, this Post has instructions.
    Thank You.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

  • Music store & 100% CPU usage

    I've had this problem on my newly built computer, and my older machine. When I browse the iTunes music store, the status bar on the top will often move like it's opening the music store, but it'll do this for a long period of time (several minutes) and iTunes will work, but the music store will not load, and you cannot click the 'X' to stop the contacting of the music store. During this time if you open task manager, iTunes uses 100% of CPU resources. If you close iTunes it still uses 100%. you have to end the process in task manager in order to make it stop. On occasion the music store will work to view maybe one album, but if you search for another album, or click another link it'll do the whole not-responding-100% CPU usage cycle again.
    All drivers are up to date and like I said it's done this on two seperate computers of mine on the same iTunes account. I also have a laptop and the music store works completely fine on it. It's only on my desktops that I have this issue.
    Some specs on my machine if this will help
    Asus motherboard
    AMD Athlon XP 4000+ processor
    2gb Kingston 184 pin DDR ram
    Seagate SATA II 160 GB HD
    Windows XP PRO service pack 2
    thanks for your help!

    I'm only guessing here, but perhaps iTunes is having a conflict with another application. If you are anything like me you probably install your favourite applications on all your computers. As a shortcut to troubleshooting, perhaps consider an application you have installed on the desktops, but NOT on the laptop. Then try uninstalling that application from your desktop computer and test iTunes.
    HP Compaq dx6120 P4 2.8 GHz 1GB RAM (BABYJANE)   Windows XP   iPod : 5G 30GB (BLANCHE)

  • 100% CPU usage by iCal

    For some reason my iCal application uses 100% of CPU. What can I do to avoid it?

    I had a similar problem with iTunes.
    Here's the link to what fixed my problem immediately.  Please note: my problem was resolved following just the three steps pasted below.  The original link has additional steps that may be necessary, although I did not employ them, and my problem of 100% CPU USAGE is gone!!!  Thank God!
    URL source:     http://www.hotcomm.com/faq/FAQ_ResetWinsock.asp
    Good Luck
    Copyright (c) 2009 1stWorks Corporation. All rights reserved.
    This article gives instructions for resetting Winsock on Windows XP and Windows Vista: 
    Reset Winsock (Vista) 
    To reset Winsock in Vista: 
    1.Click the Windows Start button. 
    2. Type Cmd in the Start Search text box and press Ctrl-Shift-Enter (keyboard shortcut to run Command Prompt as Administrator). Click Continue to allow elevation request. 
    3. Type netsh winsock reset in the Command Prompt shell, and then press the Enter key. 
    URL source:     http://www.hotcomm.com/faq/FAQ_ResetWinsock.asp

  • Copying from USB NTFS device with Dolphin (KDE) causes 100% CPU usage

    I am copying +/- 30 GB of Music files (flac) from my external USB HDD which is formatted as NTFS.
    I have installed ntfs-3g and am experiencing near 100% CPU usage. What's wrong?
    Additional info: I am using KDE and initiated the copying through dolphin. KDE's system monitor only shows CPU usage near 100%, but no processes in the process view could be responsable.
    Thanks!

    What mount options are used for that ntfs drive?
    Edit: There are many similar threads but I couldn't find a solution other than trying out some kernel and cpufrequtils fun.
    Last edited by karol (2011-01-16 18:12:15)

  • Recently FireFox often has been causing 100% CPU usage and locks up until it finishes the process (various ones). Clearing cookies/cache didn't help. Any ideas?

    Windows 2000 SP4, 1g RAM, Firefox 9.0.1
    We keep IE6 and Firefox open simultaneously for 2 different mail accounts. Firefox was always much faster even with 3 or 4 tabs open, but for the past couple of weeks when trying to update a screen the CPU suddenly goes to 100% usage and of course nothing will move until the particular process is finished. Closing one or more tabs does not help. If I close Firefox completely with Task Manager CPU usage goes back down to nil. After restarting Firefox CPU usage may or may not go back up depending upon whether it tries to continue the previous task that was locking it up.
    It did not do this with Firefox 3.6 but then again it didn't happen immediately after updating to 9.0.1 either.

    100% CPU usage occurred most often toward the end of the working day when busy trying to print on-line postage. We don't have any memory-consuming plugins but according to the knowledge base articles Firefox memory usage can gradually increase during the day even if you do nothing. It seems that may be the problem so we close and restart Firefox more often now as that usually fixes the problem. However, if we get stuck on a particular website update that causes the CPU to to go 100%, we can always start Firefox without previous tabs so the update will stop, or simply use a different browser until we have time to let the computer play games with itself.
    So our workaround of restarting Firefox turns out to be the final solution (until we find something better - will post it if we do). Vic

  • 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)

  • K7N420 100% cpu usage

    Apologies in advance for a long post but I'm stretched beyond my technical abilities to solve this thing. I was running a virus scan a week ago (no issues, it had just been a long time since I ran one) and while I was away the machine restarted itself when it shouldn't have. It was waiting at the redhat login (dual boot XP and redhat) when it should have been waiting to tell me the scan was done in XP. It never booted properly again. The HD reported fatal unrecoverable errors. I bit the bullet and replaced the drive with a Maxtor 80G 7200rpm drive and loaded XP Pro with no issues. Loaded Norton, updated it twice and proceeded for Windows updates. No issues, device manager has no conflicts. HOWEVER, the machine is running no apps (they aren't even installed!) and taskmanager reports 100% cpu usage and no processes running except system idle which jumps from 97 to 99% repeatedly. Somehow I managed to revive the original drive (wrote zeroes to it and ran scandisk several times and it reports no errors now) and tried it with the same problem. I've gone so far as to install 98se (yuck) on the original WD drive and it is using about 28% cpu, again with virtually nothing installed. I ran stinger off a floppy as well as Norton several times so the drives and MBR would appear to be clean. The RAM is appearing properly on both OS's and always no applications running and no processes showing as using anything. I'm stumped.
    Any advice is welcome.

    GlennVidia, first thanks for helping this dumbass out. I ran the memtest overnight with no issues. I just reinstalled XP on the new Maxtor drive. I am using the 2.03 drivers. I just installed PCAlert and it shows the following voltages: Vcore: 1.74, 3.3 is at 3.34, 5 is at 5.03 and 12 is at 12.18 with a cpu temp of 118F. I have installed no other apps including anti-virus. The cpu usage is bouncing between 44% and 65% cycling every second...you can set a clock to it. (Hopefully that triggers someone's memory?) No processes showing as using resources in task manager besides system idle and an occasional hit for task manager itself. Device manager has no issues. I changed the ide cable and reseated all cables to and from the mobo.
    You mention usb...I'm not using any usb devices but will gladly kill it in DM if that is what you are suggesting for a test run.

  • 100% CPU Usage caused by HMI

    Hi everybody:
    I'm working with LabVIEW DSC 8.2.1 in a system that monitors many variables of a plant, such a typical SCADA system. For this reason, the use of the graphic tools is highly used on the development of this system. Everything works fine, but I have only one problem.... the usage of the CPU.
    When I am working on the development system I (not the executable) I start the application and after the variables are initialized and every process has started and are running , the CPU usage is raised around 90 - 100%. After a few days investigating the reason of this, I realized thay when I change the view on the screen to another view, for example the block diagram of the application, while the application is still running, the CPU usage goes around 15 - 25%. I've tried these many times changing the view from Front panel to Block Diagram and viceversa and the result is always the same: Front Panel= around 100%; Block diagram or another view (other applications MMIs, or Block Diagrams, etc.)= around 20%.
    Another thing that I realized is that the other view (different to front panel) has to fill the entire screen to work the way I'm telling before.
    When I build and run the executable, the usage of the CPU is the same... (around 100%), but I can't see any other application, because the application built is the shell of the OS, so no other views are available.
    I don't know if there's some other consideration to take into account about the HMI when creating an application, and I'll appreciate very much your help.
    Thanks in advance!
    Ignacio von Unger

     From http://100cpuusage.blogspot.com/
    100 Percent CPU Usage when you run programs after you install Windows XP Service Pack 2
    CPU Usage 100% Symptoms
    When you run some programs, the CPU Usage meter in Task Manager may indicate CPU Usage 100%. When CPU utilization reaches 100 percent, programs will run very slowly or stop responding (hang) and your computer is freezing or crashing.
    Noteress CTRL+ALT+DEL to view CPU utilization, click Task Manager, and then click the Performance tab.
    These symptoms occur after you install Microsoft Windows XP Service Pack 2 (SP2).
    CPU Usage 100% Cause
    These problem occurs because of the user interface code that is included in Windows XP SP2. The high CPU utilization is caused by the additional overhead that occurs when the IsWindow function is called by the user interface code.
    RESOLUTION
    Hotfix information
    A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.
    To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:
    http://go.microsoft.com/?linkid=6294451
    Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:
    http://support.microsoft.com/contactus/?ws=support (http://support.microsoft.com/contactus/?ws=support)
    Prerequisites
    To apply this hotfix, you must have Windows XP SP2 installed.
    Restart requirement
    You must restart the computer after you apply this hotfix.
    Hotfix replacement information
    This hotfix does not replace any other hotfixes.
    File information
    The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel. Date Time Version Size File name
    30-Mar-2005 19:53 5.1.2600.2643 577,024 User32.dll
    30-Mar-2005 01:30 5.1.2600.2643 1,836,544 Win32k.sys
    if you still do not know how to Fix CPU Usage 100%?
    I suggest you try targeted software - registry cleaner to fix cpu usage 100%
    Because there are many cases causing high cpu utilization.
    1. If you do a lot of web surfing and are concerned about spyware, adware infecting your machine, they will cause system crashes and CPU utilization reaches 100 percent. Some good registry cleaner has the function of spyware & adware removal.
    2. You install many beta version of the software, Drivers are not certified, which resulted in many errors, you get high cpu usage.
    3.100% CPU Usage while you use Internet Explorer
    4. many unneed Startup Program.
    5.Others PC Errors. - DLL errors, runtime errors, Windows-Installer Errors, Windows Startup Errors,paths Broken DLLs, OCX, and ActiveX Components all will cause 100% cpu usage. Your PC will run very slowly.
    Registry cleaner can do a complete scan of your entire file system and registry in under 2 minutes! Fix High Cpu Usage. Improve PC Speed By Up to 70%!
    http://www.100-cpu-usage.com/ suggest you to download registry cleaner to fix 100% cpu usage too.
    PCErrorsfixer.com - Top 3 Windows Registry Cleaners, Improve PC Performance,5 Star Rated. Fix 100% CPU Usage, Runtime Error, DLL Error,Windows Startup Errors,Internet Explorer Errors, Speed Up your slow PC.

  • 100% CPU usage... does anyone else get this?

    Here is my code. I would have simplidied it for you... but I honestly have no idea where it went wrong.
    One second it is running fine, the next it starts taking up 100% of my CPU cycles. I can't figure out what I did to it to make it do this... nothing I added creates an infinite loop or infinite threads. It's just... weird.
    The code is probably too big for anyone to look at and tell me what's wrong, but can someone else download it and tell me if you also get 100% CPU usage? It needs to be run on Windows... it uses a couple JNI calls that are Windows-specific. Those calls were the first place I looked when trying to find the problem, but I have not changed that part of the code for a long time, and it has never been a problem before.
    Don't run the bat file... just navigate to the Watchdog2 directory and do 'java Watchdog'.
    Are there any tools that can help me figure out where the program is getting hung up? It's not freezing at any specific spot... just moving super slow and taking up 100% of my CPU. I'm so confused...
    Message was edited by:
    L4E_WakaMol-King

    Nevermind!
    Sorry for the trouble. The problem was that last time I compiled the code, it reverted back to and older version of a class I had compiled days ago. Why it did this is totally beyond me... but it did, and it just so happens that the old version of that class combined with the new version of my program were the perfect recipe for an infinite loop.
    Seriously, if you are in inveterate debugger, you might get a good laugh out of this. I've spent the last week and a half trying to find a way to set the Windows console into cbreak mode (single character processing rather than line-at-a-time processing), and I finally managed to do it by writing some c code and putting it into a DLL with the JNI. So now my program (which runs from the console) can process each character as it is entered rather than waiting for a line return. The older version of the class that got reverted was one that used System.in rather than the input stream generated by the socket. I had set it to System.in for testing purposes, and apparently that testing version is the one it got reverted back to. So combine the two, and you have a console that is feeding System.in each character as it is pressed and a socket wrapper that is listening infinitely. It was a mess... but an uncannily serindipitous mess...
    Ahh... debugging... good time...

  • DotMac Translator 100% CPU usage

    During the last few weeks I have a process called dotMac translator running and it's taking 100% CPU usage, I can kill the process off but it just comes back after about 10 minutes.
    Does anybody have any ideas on what's causing this and how to fix it.
    Thanks
    MacBook   Mac OS X (10.4.10)  

    run the 'top' utility and see what the processes are. You will certainly see some oracle procs in the list. can you post back the output here so we can review it?
    Also run the command vmstat 10 130 whilst the cpu is at 100% and post back.
    rgds
    alan

  • My laptop (win7 2ghz, 1gig) has 100% cpu usage with itunes installed (even when not running itunes) since the upgrade.  i had to uninstall.  tried installing but still the same problem.  my daughter wants the new ipad, but this is a serious problem.

    when itunes upgraded my laptop went to 100% cpu usage.  only solution was uninstall.  have tried itunes again as my daughter wants the new ipad.  still same problem tho so not keen to spend £400 on new pad without pc support.  anyone help?  (ps been using ipod touches 1 and 2, been great source of pleasure for my two girls, but cant sync them, so using the little shuffles for music, syncing to an old version of itunes on an old netbook - had the sense to switch off upgrades when the new version went wrong)

    Close your iTunes,
    Go to command Prompt -
    (Win 7/Vista) - START/ALL PROGRAMS/ACCESSORIES, right mouse click "Command Prompt", choose "Run as Administrator".
    (Win XP SP2 &amp; above) - START/ALL PROGRAMS/ACCESSORIES/Command Prompt
    In the "Command Prompt" screen, type in
    netsh winsock reset
    Hit "ENTER" key
    Restart your computer.
    If you do get a prompt after restart windows to remap LSP, just click NO.
    Now launch your iTunes and see if it is working now.
    If you are still having these type of problems after trying the winsock reset, refer to this article to identify which software in your system is inserting LSP:
    iTunes 10.5 for Windows: May see performance issues and blank iTunes Store
    http://support.apple.com/kb/TS4123?viewlocale=en_US

  • Queue consumer stops with 100% cpu usage

    I'm trying to use Berkeley DB queue with transactions. When I tested what happens when transactions with DB_APPEND are aborted I found that while it works and DB_CONSUME correctly skips over rolled back records, unfortunately extents that have those records are never deleted, which causes database to always grow. Next I tried DB_CONSUME with database opened using DB_INORDER flag and it seems there's a serious regression in Berkeley DB that causes it to loop indefinitely with 100% cpu usage when it encounters a rolled back record. I tested various versions and found that this bug doesn't happen with 5.1.29, but it is reproducible with 5.2.42, so this regression might have been introduced in 5.2. I have also tested 5.3 and 6.0, and both have this behavior. There may be something wrong with the way queue records are rolled back, one indication of that would be that in 5.1.29 doesn't have neither of the two problems I found with DB_QUEUE: extents are deleted after being consumed, and there are no issues when consuming with DB_INORDER either.
    You can find Python code to reproduce this issue here:
    https://gist.github.com/snaury/027a3c546f5b0a62a440
    Sorry for using Python and not e.g. C++, but it's a lot shorter that way.

    We have looked at the issues and they are valid.   We will roll the fixes out for this in our next release of BDB.   The test case was very useful and really helped to speed the process up.    If you have any questions, please contact me directly at [email protected]  Thanks again for bringing this to our attention.
    thanks
    mike

  • Problem:100 % cpu usage with tcp server dll

    Hello,
     I am trying to write a dll with labwindows/cvi that allows me to create a TCP Server. This dll is integrated in labview.I created this Dll with example provides by Labwindows/cvi(rtserver.dll).
    Description of my problem: when i execute this dll in a "While Loop" in labview,the TCp server wait a connection and 100% cpu usage occurs. However when a client is connect to the server,the CPU is normaly used because the program stop when he meets the timeout of the tcpread() function. I would like to know how i could limit CPU usage  when the server is awaiting a client in the labview "While loop".
    I know I could use a DELAY() to limit Cpu usage ,but I would like to know if there are any others solutions.
    thank you.

    i dont know your exact application, but i generally use Q to transfer data to TCP loop in my prgram it helps me in two ways.
    1. it automatically restricts the iteration when ther is no data (Less CPU Usage, Less Unnecessary Trafic)
    2. Q can eliminate problems arising due to non synchronization of loop
    Tushar Jambhekar
    [email protected]
    Jambhekar Automation Solutions
    LabVIEW Consultancy, LabVIEW Training
    Rent a LabVIEW Developer, My Blog

Maybe you are looking for

  • Problem with installing IOS and ejecting CD

    Hi guys, I have a problem here where my computer got stolen from my house. The police were able to cease it back but they have to reformat everything. The Imac came back but there were no IOS in it (blank harddisk). I put in the CD that comes with th

  • How to restore?

    How to restore imac (leo 10.5.8) to the factory settings (delete all user files and programs)?

  • Alignment problems

    I spent many hours making my website with Dream weaver and a Dreamweaver template. Looks good in various browsers on both my machines, but things are not lined up when viewing on my laptop or my (Android) phone. Have many years success with Front pag

  • How to always open DEFAULT tab?

    Requirement : There are 7 tabs on screen. On opening this screeen, Tab 1 should be always disclosed and displayed. Issue : Suppose user navigate to any other tab (say Tab3) and exit out of this screen. When user again come back to same screen Tab3 is

  • The iphone cannot by synced with this version of Itunes because its software is too old-

    with 10,5 beta4 and ios5 beta the sync button is not active can`t make sync. but i see all my apps and music.