Problem with dual core processors: 50% ressources are not used.

Hello all,
I have noticed, that the java app cannot get normally more than 50% of the system ressources. I use different threads in my application, but the app still does't achieve 100% of system power. Max 50-60%.
If I run two processes, I get 100%, but I can't share memory space between this two process. Or I can?
What is the best way to write an application, that can use 100%, in other words, full power of dual core processors.
Thanks in advance.

Try thread.setPriority() method. I am making guess
and any comments
from experts on this method will be highly
acknowledged.Yeah. Don't do that, it's a bad idea.
Back to the original post, there are two reasons this can be happening.
1) Your code is not efficient multi-threading wise. If you are for example running two thread that are in theory parallel but in actual fact provide linear execution so that one is almost blocked by the other then multiple threads and multiple cores will underutilized. It's hard to speculate further on this without seeing your code.
2) The OS. First of all there is the issue of how the oS shares up the processor between processes. This varies and may or may not be configurable. The bottom line on this point is that your OS may be capping the utilization of the processor by process. Again there's not enough information give by you to expand on this point. The second OS issue regards how the OS deals with multi-core. Just because you have a multicore processor does not mean that your OS automatically can take advantage of it.

Similar Messages

  • How to use Real time execution trace toolkit with Dual-core processor??

    hi there
    the situation as follows:
    i have a computer (PC and Laptop) types with Dual-core processors, and am trying to do simulation using Multi-core technology and based on different simulation scenarios...starting from sequantial processing,.......Piple lining processing strategy. so that i can differentiate the time delay between those types of processing based on (Using 1 processor then dual-core processor Computers)
    my question is: As i read through Ni's white papers i saw many notes refer to Real-time execution trace toolkit to investigate the (processing-time , etc) of multi-core processors in processing diffenent algorithms. My algorithms are to be run on 1 computer with dual-core processor BUT, not in real time environments, that is ( No hardware to be connected to my pc) only algorithms running on my pc....
    So, is it possible to use Real time execution trace toolkit  or anyother tools in LabVIEW to show processing-delays and/or anyother timing critical issues without using my application for  real- time hardware.???
    in other words: how to use Real time execution trace toolkit  in non-hardware and/or real-time scenarios???
    please help me in this.
    Any suggestion, comments, feedback.....is absolutely highly appreciated
    thanks a lot in advance
    Labview Lover

    Hey,
    The Realtime Execution Trace Toolkit only works for NI RT Targets.
    But you can use the Desktop Execution Trace Toolkit, just search for it under ni.com.
    Christian

  • Turning on Virtualization in Compaq/HP Presario C500 with Dual Core processor

    Hoping someone can help me out.
    Running a Compaq Presario C500 laptop with the Dual Core processor. Intel's site says the processor supports virtualization.
    However, in the F.24 A Phoenix BIOS setup (pressing F10 on Startup), there's no option to turn on Intel Virtualization Technology on any of the Tabs. Tried downgrading the BIOS to F.14A -- as the description says; "Adds item to Setup utility (F10) to enable/disable Intel Processor Virtualization Technology."
    However, when I startup, press F10 -- there's no option for turning this on.
    Is there another place to go -- other than the F10 setup area of the BIOS -- to turn on Virtualization Technology?
    If an expert out there can help, it would be very appreciated!

    http://www.intel.com/p/en_US/support/highlights/processors/toolspiu/?redirector_count=1&
    Did you actually download the identification utility and run the tool?
    Dave
    Did someone help you? Pay it forward. Help someone else.
    NC4400, TC4400 Win 7 Ultimate, xp pro, both dual boot
    a bunch of thinkpads

  • P6N SLI V2 problem with "dual core center"

    I have the P6N SLI  V2 with E4400 and 7600gt running XP pro sp 2.
    after installing and running MSI's "dual core center" (including .Net framework) I only have the "VGA" option enabled, the "MB" option is disabled as well as the D.O.T option. I tried uninstalling and reinstalling as well as downloading the latest version, but I have the same problem. I get no MB options at all (like no cpu temp, fan speed, core speed etc.). I didn't make any changes to the BIOS yet (other than changing the boot sequence), and ideas?

    Quote from: nautica on 15-July-07, 13:19:02
    and ideas?
    A great one.
    Don't use MSI's utilities. Anyone here will tell you that.

  • Booting/Crashing Problems with Dual Core 2.3GHz PowerMac

    I'm wondering if anybody else is having this problem. ...
    I'm having problems booting my new Mac... for the first few weeks everything was fine ... but for the last few of days it often takes 2 or 3 tries to boot to the desktop (it hangs during the boot process) and sometimes when it get there it freezes when I try to launch an app. Rebooting yet again usually solves the problem...
    Yesterday after i got it booted it sounded like my disk drive was working for a long time after it was booting the computer was very slow and when i checked CPU usage was very high bit i was not running anything to cause that!
    This evening I had to reboot 5 times before I was able to do anything .. and one time the fans kicked into high gear and sounded like a vacuum cleaner!
    Once I got it going I opened Mail and checked my new eMails, opened Safari then left the computer for about a half hour and when I got back I had message on my screen saying I had to reboot!
    When I got my Mac I immediately ran the full hardware test and it passed... Then I immediately added 2 GB of Crucial RAM and ran the full hardware and memory test yet gain and everything passed...
    So it should NOT be a RAM issue.
    Has anybody else seen this type of thing and/or has any suggestions on how to fix it or isolate the problem?
    Thanks
    - karen

    Feldspar-
    As I'm waiting for for my replacement Dual Core 2.3 G5 to arrive back from Apple, I've been scanning this site to see if there has been any conclusive determination about the underlying problems with the new G5s. So far, I'm sorry to report, I don't see any.
    My recomendation to you is to talk directly to apple tech support If you aren't already. Although they may not have a definate solution at this point, you may be able to get a new machine, with more assurrances of it being healthy, than getting your current machine repaired at a service center. You have only 30 days from your purchase date to determine this, and in my case it took a few days working with them to get to the point where all of their tests and trials were done and my machine was classified DOA.
    We have paid too much money for a machine that is only as reliable as the amount of time we're willing to spend to get it running after a few (or more)boots. One of the main reasons I've chosen Apple for all these years is that I didn't want to have to learn all of the underlying engineering and programming that make it work. I have always been willing to pay more money for a system that works when you turn it on the first time. I am confident that Apple wants very much to maintain their image of reliablility since much of their competitive edge is the advantage of great looking Apple hardware running their feature packed native software.
    I am hoping that we haven't entered a new era with Apple products where my new best friend is going to be the tech guy at the local apple repair center: (not to knock any of them..by the way.)
    Although I don't make my living on my cumputer as you do, I depend on my computer throughout my day for information, important financial transactions and comunication. It goes beyond inconvenient to have to send my machine back, for whatever reason. I am writing this on a rock solid G4 933 that has never had a single problem. Have I just been lucky?

  • Problem with Dual Core Center and MSI 3870

    Hello again, my previous thread is this:
    https://forum-en.msi.com/index.php?topic=113164.0
    The VGA works well, the problem is that AFTER i installed it the Dual Core Center stoped to work!!
    Installed the dotnetfix again but no avail, still doesn't work.
    And i know that happened after installed the VGA, so i believe that must be part of the problem.
    Thanks!

    Try the latest version of Dual Core Center.
    You will find many alternatives for DCC here: https://forum-en.msi.com/index.php?topic=107133.0

  • Problem with Youtube and Flashplayer : some options are not responding anymore

    I have a very strange problem since few days only on Youtube (other famous flashvideo websites are working without problem) I tried many things already without success.
    I can still play videos on youtube, excepted the buttons under the player are not responding AT ALL. I can still see them but it's not responding (or for exemple when Im going on the youtube player "Sound" icon the bar volume doesn't appear)
    I tried already to uninstall flashplayer and update it to the last version (10...38) but no changes. I have the same problems on all browers (IE; Firefox and Chrome). I also reset all Firefox and IE without success. Reinstall Java. And I have the last drivers for my graphic ard AMD. 
    Here is a few pics to show my problem : 
    You can see clearly that the button for resolution doesn't appear at all. 
    Picture of my youtube player : 
    on Firefox :
    http://imageshack.us/photo/my-images/607/firefoxu.jpg/ 
    on IE
    http://imageshack.us/photo/my-images/225/29761205.jpg/ 
    Quite strange also on IE you can see that there is a kind of bar who seems to block me the access to the control of the youtube player icons : 
    http://imageshack.us/photo/my-images/812/ie2q.jpg/ 
    Im on Windows 7 64Bits, but i'm using the 32Bits version of Firefox and IE, I tried also to turn OFF my Avast Antivirus and my firewall. But no changes. 
    If anyone has an idea, i would really appreciate because even if i can still watch video, i cannot change the audio volume of it and change the resolution or even activate the google subtitles options. The only icons who are responding on the youtube players are the two on the right (to enlarge the screen). 
    Regards, 
    Yann

    Yamoona wrote:
    Here is a few pics to show my problem
    Images are good to document a problem, butI don't see any images in your post.  Use the camera icon to insert images into a post.

  • Problems with DHTML popup: Required DHTML functions are not supported in this browser.

    When I try to open a Date calendar I receive this message:
    Required DHTML functions are not supported in this browser.

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

  • I use an iMac (27" 3.4) and have problems with the Magic Mouse. It does not use contact, but opens useless and unrelated submenus with every click, even on the empty desktop. I can't shift, open or close pages. Has anyone out there the same problem?

    I use an iMac 27" (mid 2011). Until recently I had OSX 10.6.8 installed, but both, the HDD and SSD had to be replaced, and I lost all the memory.
    After the repair through Apple Care I had OSX 10.7.5. (Lion) installed, which developed a Magic Mouse problem.
    Unlike with most users, I have no problems with connection, but grapple with a different kind of erratic behaviour.
    All fancy stuff is turned off in the mouse preferences. When I try to move, open or close pages, unrelated submenus pop up and hinder the
    required task. No matter how often I click, these menus stay there, and they even come up when clicking on the bare desktop.
    It renders the mouse absolutely useless, as no work can be done with it.
    The first 'Magic Mouse' had depleted batteries every few days, despite switching it off after use.
    I was supplied a new Mouse, which does better battery-wise, but the problems are the same. I can't get a result by clicking on any link, due to
    the pop-up menus, so both 'Magic Mice' are totally useless.
    At present I am using the old USB mouse from my Mac Pro, and that works still o.k.
    The problem are not the mice, but the software. The first 2 weeks after installation of OSX 10.7.5 the Magic Mouse worked though.
    I have no idea as to what the reason may be.
    Has anyone in the community ever experienced that particular problem. Any hint would be welcomed.
    Thank you!

    Not using any mouse pad, I have a very smooth desktop. But I just tried to use a sheet of A4 printing paper, but no result, the problem persisted.
    Someone on this forum suggested, that USB3 may interfere with the magic mouse.
    I have 2 LaCie HDD's about 70 cm away from the mouse, I use them on Thunderbolt. But in operation or not - the result is the same, the mouse plays up! Just now I was clicking the desktop and the mouse created a new folder!!
    Thanks for the advice, Bee
    Cheers, Gerd

  • Problems with ADE 4.0.2 - eBooks are not visible

    Hallo,
    i've installed the latest ADE-Version 4.0.2.
    After installation i've deauthorisied and re-authorisied my computer with my AdobeID. I got the Information that the Authority was successful.
    But the AdobeDigitalEdition Programm doesn't show my eBooks anymore. All of my eBooks are located in the C:\User\...\Documents\My Digital Editions - Folder. And If i drag and drop my eBooks to the main window of the ADE i get the message: "The document can be added, because it is already available at the library". But the Book doesn't come up at the ADE-mainwindow.
    The next Problem is, that i haven't got access to my Kobo-Reader reader. The Reader exists under the rubric device, but if i open the reader ADE breaking off and shut down and show a messag: "ADE has got no solution for the problem."
    Please, can anybode help my?
    Much Thanks TTMTT

    I just compile a kernel with gcc4 and the archck7 patch. I crapped out on the module for my DVB card but I hardly use it anyway so I just disabled it and it compiled cleanly. I'm going to take a closer look at that error when I get some free time but for now, it's given me a working kernel at least

  • Is anyone having problems with Firefox today? My websites are not loading correctly

    Firefox just isn't working right today. My home page (yahoo.com) will not load correctly, nor does a university site for a course that I am teaching online. I can do both of these if I use Internet Explorer.

    Hi ritawickham,
    We've actually put together a troubleshooting section for [https://support.mozilla.org/en-US/kb/web-pages-dont-load website loading issues]. Have you had a chance to browse the documents there? If not, you should take a look. There is a lot of useful information.
    Hopefully this helps!

  • Oracle v.8 go slow on HP G5 Dual Core Processor

    We have a really problem !!!
    I have bayed a new computer HP DL380 G5
    When i install Oracle 8 Server the database access is very slower.
    The same application works fine on HP G2 G3 and G4
    can anybody help me.
    Thanks in advance
    Isidre Tapias
    [email protected]

    The operating system is Windows 2003 sp1
    with the same OS with hardware HP G3 and G4, Oracle v8 works fine.
    It seems that the problem is G5 Dual Core Processors.
    There are any fix o solution for this problem ??
    best regards
    Isidre

  • I have got new hardrive windows 8.1 and i have downloaded PS, LE and AE...Clouds...when i open PC so i get massage on rigth corner short time." your photoshop has problem with compalitet"....i have not put things back or used PS,,,what shall i do? LR work

    i have got new hardrive to windows 8.1....when i open my PC so i get message on lower right corner  - very short time - your photoshop has problem with compalitet....i have not used it yet or put brushes and so on back....LR is working fine...i can open photoshop without problem..and AE...what shall i do?...

    Thanks for info:
    A. Backup before doing anything advanced is recommended but not widely used.
    B. Upgrade on vanilla plain (and updated) operatiing system goes flawlessly. Upgrade on "real" computer may depend on "status" of operating system and applications installed. You may not be the last experiencing troubles.
    C. Software vendors expect that users has nearly unlimited disk size, large memory and latest processor.
    D. It is on you to find anything positive to compensate annoyances. Mental balance is in your hands ;-)

  • Jdeveloper dual core processor performance problem

    I have a dual core 2.4 ghz processor and 2 gig of ram and Im running Jdevloper 9.0.5.2 and my performace is terrible. Other developers in the company have non-dual core processors and they can start up in debug mode using the Jdeveloper embedded oc4j our application in 10 seconds where it takes me 4 min!!!!! It is a struts,ejb web application. Is there anything I can do to help in debug mode??? cheers.
    Murray

    Hi Bernard,
    Which version of McAfee are you using?
    On my (personal) laptop, I'm using McAfee VirusScan 9.0.10. I don't frequently run JDeveloper on this laptop, but when I do, it's not experiencing signficant startup delays (it's a very low power machine: PIII 650 512Mb)
    McAfee VirusScan seems to have very few configuration options (noticably different from Norton, which I use on my corporate desktop machine). I specifically remember changing the "File Types to Scan" option to "Program files and documents only". You can get to this by right clicking the "M" notification area icon, VirusScan->Options menu, Advanced button on the ActiveShield page.
    In Norton, I think I have it configured so that it only scans files on write rather than on read. I also exclude directories which contain jdeveloper installs or other large Java apps (although scanning only on write elliminates most of the performance problems anyway and still leaves your system reasonably secure).
    The easiest way to convince your MIS dept that the virus checker is the source of your problems might be if you ask them to allow you to turn it off in order to test the difference it makes to performance. It's a reasonable request to make if you're trying to elliminate possible causes for the slowdown (from the description you gave, it does sound like the AV upgrade is the first place I'd start looking).
    If the virus checker is the source of your problems, you'll probably be seeing massive slowness in most large Java applications that have a large number of JARs on their classpath.
    Thanks,
    Brian

  • Can't get K8N Neo4 Platinum Edition to post with Dual Core 3800 Processor

    I'm doing a sytem build with a K8N neo 4 Platinum board bought second hand off Ebay and can't get the board to post - when I power up all the fans etc come on but there is no beep and the "D" bracket lights stay on solid - 2 amber and 2 red. Having read numerous posts on this forum I've fiddled about with memory in different slots etc and pressed the reset CMOS button but to no avail.
    The problem is (apart from the possibility I've been sold a "duff " board !) that I've no idea what version of BIOS is on the board and of course I can't get into the BIOS to see or update it. I understand a BIOS update may be required for the dual core processor - does this mean that if the board doesn't have the correct BIOS it won't recognize the CPU at all which is why I am getting these symptons? Alternatively could the problem lie elsewhere ? I do have another computer with an AMD single core CPU but at this stage don't really fancy taking out this CPU and trying it in the K8N board.
    Any advice would be appreciated
     

    -Take the motherboard out of case.
    -Unplug all hardwares and power cords, then clear CMOS as the mannual has described.
    - Plug one memory, VGA card and power cords, then start the system and check if it could boot.
    -If it still couldn't boot, check the CPU support tableand make sure your board support this board. After this, I think you should take another single CPU to the board to check if it could boot. If it could, try flash bios to the latest one so that this board could support this CPU.

Maybe you are looking for

  • SQL SERVER 2012 Installed to SMB share Error 59 (An unexpected network error occurred)

    I have installed SQL 2012 on a clustered file share. When I try to add space to extend the log file for a database I get the following error Msg 5149, Level 16, State 3, Line 1 MODIFY FILE encountered operating system error 59(An unexpected network e

  • Error while partitioning and creating boot camp

    hi i tried to create a bootcamp partition but i get the Error "The disk cannot be partitioned because some files cannot be moved", and it suggests to ... "Back up the disk and use disk utility to format it as a single OS Extended volume. Restore your

  • Adobe Reader 9.3 takes over icons on Windows 7 Desktop

    This has repeated 4 times (downloaded 9.3 and installed) since I got a new laptop two months ago.  All icons become unusable with error SC_Reader.ico.   Adobe help was call but since this is a free product, no help was provided.  I have had several o

  • Numeric or value error problem

    Hi, I created the following function on Oracle 8i: create or replace function get_pub_info(p_inbox in varchar2) return varchar2 deterministic is cursor c_pub(p_inb varchar2) is select a.pub_name, a.pub_code,      b.fprocess_id from pub a, fprocess b

  • Abap Keyword Documentation and IE7

    Hi; when i install ie7 i cannot see the abap keyword documentation. the window opens but cannot see the content.