Thread scheduling with Windows XP pro 64

I am using JDK SE 5.0 update 7 with the eclipse IDE on Windows XP pro-64bit. Windows is a virtual machine running via VM-ware with Linux as the host OS.
The basic function of my app is to recieve data from a socket via a listener (3rd party software). When data is available, it gets written to a list. (this is thread 1)
My app has another thread (thread 2) of equal, default priority which tests the list for data. If there i data, it removes the oldest data and does some processing. (parse and print for example). My problem lies in that using this OS thread 2 seems to be using all the cpu and giving thread 1 little, if any cpu time. It seems like this OS isn't implementing timeslicing. I inserted a yield() in thread2 which helps, but the software still runs slow as a whole (I think thread2 is still hogging cpu).
I have ran the same code on Win XP Pro -32 bit, as well as Linux without any yeilding or sleeping, and the program run super fast as if the timeslicing, round-robin is working great.
My question is, does anyone know of any idiosynchracy of Windows XP pro-64 bit, or java that could be causing this? Any suggestions on how to fix it?
Thanks,

My app has another thread (thread 2) of equal, default priority which tests the list for data. If there i data,
And if there's no data? I hope you don't do busy waiting, do you?
(If so: Instead of busy waiting you shoud use a ArrayBlockingQueue or something like this.)

Similar Messages

  • Lenovo Yoga with Windows 8 Pro, Office 2013 and Visual Studio

    For you developer types, I just wanted to post a message and let you know my experience with Lenovo Ideapad Yoga 13 as a development machine. I bought Lenovo Ideapad Yoga 13 from Bestbuy for $999.99. As expected, it came with a crap ton of bloatware installed by Lenovo.
    Here is a summary of what I did to it (I take no responsilibity for accuracy of below information. You are on your own if you decide to follow them. I am just putting this down from my memory so that I can look it up in the future if I ever need to do this again).
    INITIAL CLEANUP
    Installed Lenovo hotfix for partition cleanup/merging: http://support.lenovo.com/en_US/downloads/detail.page?DocID=DS033035
    Installed Lenovo Touchpad driver fix.
    CAUTION: I take no responsibility for below steps. I am writing them from memory and if you decide to follow them and end up making your machine unusable, you are on your own as Lenovo might not honor your warranty.
    BACK UP ENTIRE DISK (requires an empty USB flash drive for booting and another external USB drive for backup)
    Copied Drivers from D_Backup folder to the external USB hard drive (plugged into USB 3.0 port).
    Installed Paragon Backup & Recovery 2012 Free: http://www.paragon-software.com/home/br-free/
    Created Paragon Backup & Recovery boot USB flash drive with default Linux recovery environment option (flash drive plugged into USB 2.0 port).
    Shutdown Lenovo Yoga.
    Plugged in the Paragon Backup & Recovery boot USB flash drive (USB 2.0 port). 
    Pressed the one key recovery button (next to power button). Went to BIOS.
    In the BIOS, enabled Legacay mode and made Legacy high priority and saved the changes.
    The machine booted into Paragon Backup & Recovery mode. From there, made a backup of entire disk to the external USB hard drive.
    Shut down the machine, pressed the one key recovery button (next to power button). Went to BIOS. Turned off Legacy mode and switched back to UEFI boot mode and saved the changes and restarted the machine.
    Logged into the machine and verified that everything was good and checked the external USB drive to verify that the backup image was present.
    MAKE WINDOWS 8 PRO BOOT USB FLASH DRIVE (requires a second empty USB flash drive and a second computer with Windows 7. This USB Flash Drive has to be between 4GB to 32GB as Windows won't format 64GB flash drives to FAT32 mode)
    (Note: I installed Windows 8 Pro in UEFI mode. See http://pcsupport.about.com/od/windows-8/a/install-windows-8-usb.htm)
    You need a licensed ISO image of Windows 8 Professional Full version (not the upgrade version) from your MSDN or Technet subscription or create an ISO from the Windows 8 Pro full version DVD.
    Download Windows 7 USB/DVD Download Tool on the computer with windows 7.
    Plug in the second empty USB flash drive (has to be at least 4GB but less than 32GB) into the computer with Windows 7.
    Using Windows 7 USB/DVD Download Tool and the ISO file, create the Windows 8 Pro bootable USB Flash drive.
    Create a new folder on your computer disk, for example, C:\WIN8USB.
    Copy all the files from your USB flash drive to the newly created folder (created in the previous step).
    Right click on the USB drive icon in Computer window and select “Format…” from the context menu. Make sure you select “FAT32 (Default)” in “File system” drop down menu. Click “Start” and wait till the drive gets formatted. This step is needed because NTFS is not readable by BIOS in UEFI boot mode. During formatting, MBR is preserved so the thumbdrive is still bootable.
    Copy all the files from the folder you created earlier (C:\WIN8USB, for example) to the formatted drive. Your Windows 8 installation USB drive is ready to install in UEFI mode.
    WIPE THE DISK PARTITIONS
    Shut down the machine, pressed the one key recovery button (next to power button). Went to BIOS, enabled Legacay mode and made Legacy high priority and saved the changes.
    Booted into Paragon Backup & Recovery boot USB flash drive again. This time, I deleted all partitions on the primary disk (Disk 0). CAUTION: This WILL wipe your hard disk and will make your machine unusable!!! 
    Shut down the machine, pressed the one key recovery button (next to power button). Went to BIOS. Turned off Legacy mode and switched back to UEFI boot mode and saved the changes and shut down the machine.
    At this point, the disk is wiped clean. All factory installed software and recovery partitions are gone!!!
    INSTALL WINDOWS 8 PRO
    Plug in the USB Flash Drive with Windows 8 Pro install files.
    Windows 8 Installer would show the unallocated disk space. I can't remember the exact details but either I had to click on Delete or New to delete and then create a new GPT partition. The entire partition was about 119GB.
    From that point, follow the Windows 8 Pro installation steps.
    After booting up into Windows 8 Pro, plug the external USB drive that had the drivers folder backed up from D_backups.
    Install all the drivers from this folder (I was able to install everything except for one Intel fast boot one because of missing partition but my Yoga still boots up just as fast).
    Go to device manager to check and everything should be good now.
    Run Windows Update.
    You should now have about 101GB free on C: drive!!
    INSTALL VISUAL STUDIO, SQL SERVER and OFFICE 2013 ON LENOVO YOGA 13
    I installed the following in that order:
    Microsoft SQL Server 2008 R2 Developer edition (I installed all components, everything!). Then I installed latest service pack.
    Microsoft Visual Studio 2010 (I installed all components, everything!). Then I installed latest service pack.
    Microsoft SQL Server 2012 Developer edition(I installed all components, everything!). Then I installed latest service pack.
    Microsoft Visual Studio 2012(I installed all components, everything!)
    I ran Windows update and also installed Nov 2012 updates of SQL Server Data tools.
    I then installed Office 2013 Pro Plus.
    MAKE LENOVO YOGA 13 MORE SECURE
    Go to Control Panel and enable Windows Defender (it is included by default in Windows 8 and is anti-virus and anti-malware solution)
    Enable full hard-disk encryption using BitLocker feature of Windows 8 Pro. Since Lenovo Ideapad Yoga 13 doesn't have hardware TPM, you have to enable password based option. For this, follow the steps here: http://rics.partners.org/show_article.php?id=274. 
    Basically, you go to GPEDIT.MSC and Open Computer Configuration => Administrative Templates => Windows Components => BitLocker Drive Encryption => Operating System Drives. From the right pane double-click "Require additional authentication at startup. Select Enabled radio button and check the box for "Allow BitLocker without a compatible TPM...". Click OK and close the policy editor. Then Right-click your C drive in the Computer folder, click Turn on BitLocker. Then select Enter a password instead of USB option. Then provide a strong password (make sure to write it down and put it in a SAFE place, if you lose the password, no one can boot into your hard disk). Then select Save to a file and save it to the External Drive. Select "Encrypt entire drive...", click Next. When this is done, you will get a pop-up on the lower-right a prompt to restart the computer. Restart your PC. Enter the encryption password created earlier. If you are successful in getting into Windows, you're all set.
    I also hooked up to Skydrive and used BoxCryptor to encrypt my files in cloud.
    The available free disk space should now be about 54GB.
    I verified that Lenovo Yoga 13 works like a champ with no slowdown with Visual Studio 2010, Visual Studio 2012 and SQL Server Management Studio open simultaneously and Bitlocker enabled!
    The keyboard right SHIFT key is small but other than that, it can work as a great portable development machine and Microsoft Reader is great for reading PDF eBooks.
    So if you are a Developer on Microsoft platform, go right ahead. Lenovo IdeaPad Yoga 13 is great for running Visual Studio 2010 and Visual Studio 2012 (1600x900 resolution is totally usable) while on the move. Since I have only had this machine for a few days, I can't tell much about the long term reliability.
    Solved!
    Go to Solution.

    Thank you for posting this. I am in this exact situation. I purchased a yoga 13, and installed Visual Studio Express 2012 for Windows Phone. As it turns out, the Windows Phone Emulator ONLY works in a Windows 8 Pro environment. Since the Yoga doesn't have a disc drive, I shared my W7 computer's cd drive, then put in Windows 8 Pro, so that it could install onto the Yoga. Well, after the installation was done, I tried running my program again and ran into the same issue. It prompted me that my environment must be Windows 8 Pro! I thought that Windows 8 Pro already installed but, what confuses me is that I see no indication that Windows 8 Pro installed. When I go to the System Window, it reads: "Windows 8". Should it read Windows 8 Pro?
    Ultimately, I'd like to know, are you able to execute the Windows Phone Emulator? I'm not sure as to whether the Yoga has the hardware capability (needs to be SLAT enabled or something like that?), I HOPE it is able to, and judging by your post, it seems like it but I'd love to know your perspective on my approach.
    Please let me know if this makes sense, as I'm new to this kind of thing but really want to start development for Windows Phone.

  • How can I copy bookmarks from my old computer to my new computer, both with Windows XP Pro?

    Transferring bookmarks from old computer to new computer, both with Windows XP Pro?
    Thanks for your h4elp.
    Also, can I create a file of bookmarks in MS Word or Open Office so that I can save them?

    You can export your bookmarks to an HTML file on your old computer, and them import that file on your new computer. The HTML file also is your backup, and if you open it into Word, you could save it as a DOC file if you prefer.
    For more information, check out these articles:
    [https://support.mozilla.org/en-US/kb/Exporting%20bookmarks%20to%20an%20HTML%20file Exporting bookmarks to an HTML file | How to | Firefox Help]
    [https://support.mozilla.org/en-US/kb/Importing%20Bookmarks%20from%20an%20HTML%20File Importing Bookmarks from an HTML File | How to | Firefox Help]
    Note that if you are using the orange Firefox button (abbreviated menus), you can access the class menu bar with the full Bookmarks menu by tapping the Alt key or pressing F10.

  • Trying to install CS5 on new laptop with Windows 8 pro. Keeps telling me to close Google Chrome when it's already closed.

    trying to install CS5 on new laptop with Windows 8 pro. Keeps telling me to close Google Chrome when it's already closed.

    Terminate the relevant processes in task manager, including the Google updater service.
    Mylenium

  • Can't connect to ASDM 6.5.4 with Windows 8 Pro

    I am trying to install a new ASA 5505 and I can not connectto ASDM version 6.5.4 with Windows 8 Pro.
    The ASA ia giving me a correct ip and http server is enabled with the correct address allowed.
    I can ping the asa from the 8 Pro Laptop.
    I can connect with an XP PC however with no issues.
    This is the second ASA I have had this issue with in the last couple weeks since switching to a new 8 Pro laptop.
    Is there a quick solution to this issue?
    Thanks.

    Hello Craig,
    Do you have the HTTP configuration on the ASA to allow the Ip address of the 8 pro laptop?
    What Java version are you running ?
    Try with version 6 and let me know
    For more information about Core and Security Networking follow my website at http://laguiadelnetworking.com
    Any question contact me at [email protected]
    Cheers,
    Julio Carvajal Segura

  • Acrobat 7.0.5 Compatible with Windows XP Pro SP3?

    I need to know if Acrobat v7.0.5 is combatible with Windows XP Pro SP3.
    Thank you.

    I don't know, but you may go to the download page and click the individual links to read the notes for that link
    http://www.adobe.com/support/downloads/product.jsp?product=1&platform=Windows
    BTW - There are several updates after 7.0.5 which you should install, and NOTE that the latest, 7.1.0 is at the bottom of the 7x section

  • Windows 8.1 pro with cs6 masters.   or should i stick with windows 7 pro?

    i am building a new pc and considering using windows 8.1 pro with cs6 masters.  has anyone had any issues or should i stick with windows 7 pro?

    Hi Tedm,
    Please check the system requirement for CS6 Master Collection in the below mentioned link.
    System requirements | Adobe Creative Suite 6
    For more info or clarification you can contact our chat support as well : Adobe - Contact Support – Download and Installation
    Thanks!
    Eshant

  • Adobe Reader v8.1.2 Compatible with Windows XP Pro SP3

    I need to know if Adobe Reader v8.1.2 is compatible with Windows XP Pro SP3.
    Thank you.

    I've been using Reader without any problems until yesterday when administrator installed Windows XP SP3. When I do a <Ctrl-P> to print, it takes about 30 to 90 seconds for the print requester to pop up. The program is locked up and not responding during the delay, although it does NOT say "Not Responding" in the title bar.<br /><br />While the delay is going, the SysInternals Process Explorer shows but fleeting milliseconds of Kernel or User time being used. Setting the priority from 8 to 13 made no improvement at all.<br /><br />I frequently print from the Reader and the delay drives me nuts! This hang-up needs to be corrected ASAP.<br /><br />I am sure it is a Reader incompatibility because it never happened before the SP3 update, the program is hung and doing nothing and everything works perfectly before and after the <Ctrl-P> is entered.<br /><br />Word or Excel do not experience similar problems. I just tried Notepad, and it sometimes hangs the same way but not nearly as long - maybe 10 seconds at the most and only the first time. After the first delay it pops right up. Adobe Reader hangs a long time every time.<br /><br />Any idea if Adobe is going to fix it or even knows the problem exists? Do they moderate or monitor complaints like this here or elsewhere?<br /><br />I don't want to think they know about it and are fixing it if they aren't.

  • Are Type 1 Fonts compatible with Windows 8 Pro 64-bit?

    Are Type 1 Fonts compatible with Windows 8 Pro 64-bit?
    Can anyone point to a specific reference that says Type 1 fonts should or shouldn't work?

    Hello Nikhil.
    Can you see here?
    MAIN MODULE INFORMATION:
       SAP GUI for Windows
       SAP Logon Pad for Windows
       730 Final Release
       7300.1.0.1074
       1337608
    SYSTEM INFORMATION:
       Operating system: Windows 8 Pro 6.2 (9200)
    You are using patch 0 for Windows 8
    Windows 8 is not supported until patch 1 or higher is applied, and for Windows 8.1, you must use
    Patch 7 or higher,.
    Apart from that the error is not from the GUI side,
    See below:
    Previous frontend interpretation time   :           109 ms
    Previous server response time           :          5078 ms (for 1 roundtrips)
    The frontend interpretation time is only 100 ms whereas the server time has taken 5000 ms
    Please use a supported version for the OS you intend to use.
    You can find this information in note
    http://service.sap.com/sap/support/notes/66971
    Jude

  • Is the JDK (1.2.2) compatible with Windows 2000 Pro?

    Hi Friends!,
    It seems that the JDK - Version: 1.2.2 - is not
    compatible with Windows 2000 Pro. I know
    how to configure the kit in this operating system
    even if I'am not able to understand the reason for which
    I receive the error in the Command Prompt window - the JAVAC
    utility says:
    "Can't read: BigDebt.java - 1 error".
    I have added the following command line from
    the System Control Panel->System->Environment->System Variables:
    C:\jdk1.2.2\bin ( where I have installed the kit ).
    I also have added the CLASSPATH command line there:
    set CLASSPATH=.;C:\jdk1.2.2\lib\tools.jar but the problem persists
    and I'am unable to create the BigDebt.class file.
    To avoid another nervous wreck please send me the instructions
    to configure correctly the JDK (1.2.2) for Windows 2000 Pro.
    Thanks.
    Julian Jerman - from Italy.

    when you runs the java compiler like this
    javac BigDebt.java
    You need to be in the directory of your BigDebt.java file located.
    BTW, it is kind of weird that your java file is saved to System32 directory, there is no benefit doing that.
    --lichu                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Is the Creative ZEN compatible with Windows XP Pro x64 editi

    Hello, I recently bought a Zune and then found out it wasn't compatible with my OS, XP Pro x64. I installed the software on my laptop, but it was just too troublesome to set everything up and exchange music, videos, etc. between the two machines. So I've decided to return the Zune and get a Zen instead. I'd really like to buy the ZEN 8GB, but it does not state whether or not the x64 edition is supported. The ZEN V Plus states that the software does support the OS, so if I have to get that one, I don't mind. Thanks.

    CRe: Is the Creative ZEN compatible with Windows XP Pro x64 edition?H I recently bought a Zen 8GB mp3 player. I have an xp x64 pro OS. As soon as I tried to instal the included software from the CD, a dialogue box appeared stating, "The windows operating system running on this computer is not supported by this product." I have done everything the technical assistance group has suggested with the samed result including a clean install. I did load it on my 32 bit laptop. It works fine. ONe of the problems I have found is that the correspondance goes to a different person each time and they are not reading the dialogue. I have found a way to make it work (well somewhat) with my 64 bitg machine. Oddly enough thed software for my zen V load on fine but the software is incampatable with the Zen 8GB unit. I think that there are softwarfe problems and CT is not really dealing with them.

  • Is Firefox compatible with Window Surface Pro and Win Phone 8

    Is Firefox compatible with Window Surface Pro and Win Phone 8

    A user posted here the other day who is using a Surface Pro 2, with Windows 8.1, so that should work basically the way it works on a desktop or laptop.
    Windows Phone, I don't think so.

  • How can i install hp laserjet 1010 printer with windows 10 pro

    HelloI am finding problem with installing hp printer laser jet 1010 with windows 10 pro. Is there any solution to this so i my use my 1010 printer with latest windiws 10 pro.RegardsArshad Janjua

    That particular printer is shown by the Windows 7 hardware compatibility website to not be compatible with Windows 7.
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • Home Workgroup with Windows 2000 Pro

    Windows 7, Build 7100 with home workgroup. XP computers browse and files no problem both ways. To Windows 2000 Pro, failure with Username and Password required and nothing accepted. Facts: Can ping the 2000 computer; can see and browse to the 7 computer; workgroup name is the same on all computers; username and password is the same on all computers. Something not right on the Windows 7 computer or the Windows 2000 computer?

    I'm assuming that you're getting the "unknown user name or bad password" message in response to a logon prompt.
    OK, I can't find the thread where I was posting while chasing this, but I do remember a couple of the important points:
    1. All the usual things, which I believe you've already covered. One thing that happened to me during my troubleshooting was that W7, for some unknown reason, reset the workgroup name back from my actual workgroup name (which is, of course, the same across all computers) to its default 'WORKGROUP'. It only happened once, but it made me paranoid about re-confirming it often.
    2. The date on my win2k system was off by ~ a week from the date of the W7 system (I'd been doing some other tests and forgotten to reset it). Correcting that made a subtle difference to the "unknown user name or bad password" error, and I didn't notice it at first. But I assume that your dates/times are synchronized. I have sice seen a statement that the times have to be within ~24 hours, but I don't know the truth or otherwise of that.
    3. IIRC, the clincher was that it is necessary, but not sufficient, to have the same usernames with the same passwords on both the w2k and W7 systems. I had to be logged in to both systems with the same username/passwords at the same time. Then when I tried to access the w2k system from the W7 (or was it the other way around? I forget.) I was once again asked for a username and password which I supplied (for what seemed like the 1000th time!), and lo and behold, it was accepted. And I have never been asked again!
    I have 2 win2k systems and a W7 wired to a Linksys router which also connects a Vista laptop and two XP laptops by wireless. Everyone can see and access the other without problems. Virtual machines (in VirtualBox on the W7 system) also show up and can be accessed.
    But it drove me crazy in the beginning.
    Good luck.
    Roger

  • No wireless access with Windows XP Pro (SP2) on Macbook Pro

    Hello,
    Just installed Windows XP Pro (SP2) on my new Macbook Pro using Bootcamp Beta. The installation has gone fine with the exception of wireless access to the internet through my Airport home network.
    I've tried all the other configuraton wizards on XP...no joy.
    The three other macs in the house (2 wireless, 1 ethernet) and one Windows laptop (wireless) are all fine and dandy.
    Any suggestions on what to do?
    Thanks
    17 and 15 Powerbooks, iMac    
    17 and 15 Powerbooks, iMac    

    Right Click on My Computer
    Select Manage
    Click on Device Manager
    Make sure that your Ethernet Adapters are working properly
    If there is an red X or a yellow ! next to any ethernet adapter then try to reinstall the drivers.
    (you can reinstall the drivers via the installation cd or double click on the hardware device under device manager. there should be a reinstall drivers button in there. point it to the CD that you burned from bootcamp)
    (there will be a couple of devices that are not working properly.)
    MacBook Pro   Mac OS X (10.4.8)  

Maybe you are looking for

  • Smart forms convert to pdf binary data

    Dear All, I'm working on smart forms integrations with .net and  I need to send the smart forms PDF binary data though custom rfc . For that i'm  converting smart forms otf  data  to pdf in and pass this data  through rfc but this idata is is not wok

  • Remove unwanted chars from a string

    hi friends, mi special requirement is this: i have a string containing: "Jose[12] M[36]ller" and i only want to see [12][36] afterwards, so how could i remove the remaining characters ? Thank you!

  • Integrate third party JMS providers with sunone 8

    Hi, I am trying to integrate a JMS provider, FioranoMQ with Sunone Application server (version 8). I have defined an external queue connection factory using the administration console. But I am not able to deploy the EJB as the exception in server.lo

  • Playbook won't open attachments

    my playbook will not open attachments when bridged with my BB. any suggestions?

  • Ethernet printer

    Hi there! I'm trying to print with a huge ethernet printer (Lexmark 1200). Here's my setup: I've got a room full of Mac Mini's which are all getting the internet via the Airport Extreme in the middle of the room. I want to plug in this beast of a pri