Java does not exploit / make the most from my CPU... HELP

I am working with big matrices in an information retrieval platform wrote in java.
The main operation I do in this platform is compute the SINGULAR VALUE DECOMPOSITION of big matrices. This operation is slow, because SVD has an high computational cost.
Since I need to do SVD lots of times, I want java do it as fast as it can.
I have an Athlon X2 6000+, with 3gb ram, and, during SVD computation I can see (from task manager) that the process javaw only uses 50% of my cpu.
I want it to take 100% so it can compute SVD faster.
Is there a way to let java do this ?
I am already using this JVM options (on windows xp 32bit and eclipse):
-Xms512m -Xmx1600m -XX:+AggressiveOpts
I hope someone can help me.

But you probably perform 1000+ decompositions. So you call the package methods from (at least) two different threads.
That way the package itself doesn't need to support multithreading.
One SVD shouldn't take that long anyway, (how big are your matrices?) so creating threads would be a bad idea for the method itself anyway.
Try to spot unrelated series of computations and make a thread out of those, maybe have a look at thread pools.
Since I don't know what you're trying to achieve I can't say more about how you could make your app multithreaded.

Similar Messages

  • Photoshop cs6 with OS X Yosemite, I open a new layer and i paint on it but if I use cmd Z  it does not undo fluently the most of the time.

    Photoshop cs6 with OS X Yosemite, I open a new layer and i paint on it but if I use cmd Z  it does not undo fluently the most of the time.

    Grab the plug-in posted here:  http://helpx.adobe.com/photoshop/kb/photoshop-menus-turn-white-mac.html
    That should get everything working as expected on Yosemite.

  • Custom Manage Property does not pick up the value from mapping crawl property

    Hi All,
    I have created a custom list with the column name that's called "category".
    Then I ran full crawl and I saw the "ows_category" crawl property is created.
    Then I create the manage property names as "Category" and map with the "ows_category" and run the full crawl again. (Retrivable, Searchable, Refinable options are checked)
    After full crawl, I searched Category:keyword but it returned 0 result. 
    But when I search keyword, that list item is retuned
    I tried to debug with the spsearch2013 tool and there is no "Category" manage property in the return XML.
    It seems the Manage Property does not pick up value from the crawl property. (Something might be wrong with the index schema)
    Do you have any suggestion?
    Do I need to reset the index?
    Best Regards,
    Andy

    Hi Andy,
    When you search ‘category’ in crawled properties(Central Administration->Search Service Application->Search Schema), you will see ows_Category is mapped to DiscussionCategory, like the screenshot:
    So, I suggest you create a new column using another name, then test again, compare the result.
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • Why header does not stretch all the way from left to right?

    I am using Dreamweaver CS3.  I am a newbie.  I modified a dreamweaver two column template.
    Now I find that there is always a gap between the header and the left and right edge of the web page!  I am enclosing the css stylesheet.  Please tell me where I went wrong.  Thank you very much.
    @charset "utf-8";
    body  {
        font: 100% Verdana, Arial, Helvetica, sans-serif;
        background: #666666;
        margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
        padding: 0;
        text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
        color: #000000;
    .twoColFixLtHdr #container {
        width: 90%;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
        background: #FFFFFF;
        margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
        border: 1px solid #000000;
        text-align: left; /* this overrides the text-align: center on the body element. */
    .twoColFixLtHdr #header {
        background: #a4c2c2;
        padding: 0 10px 0 20px;  /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
    #logo {
        height: 71px;
        padding-bottom: 12px;
        width: 100%;
        background-color: #999966;
        padding-top: 12px;
    #nav {
        height: 28px;
        padding-top: 12px;
        padding-bottom: 12px;
    .twoColFixLtHdr #header h1 {
        margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
        padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
        font-family: Geneva, Arial, Helvetica, sans-serif;
        color: #000000;
        text-align: center;
        font-size: 36pt;
    .twoColFixLtHdr #sidebar1 {
        float: left; /* since this element is floated, a width must be given */
        width: 40%; /* the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */
        background: #EBEBEB;
        padding-top: 15px;
        padding-right: 10px;
        padding-bottom: 15px;
        padding-left: 20px;
        font-size: 14px;
        line-height: 21px;
    .twoColFixLtHdr #mainContent {
        float: right;
        width: 42%;
        margin-top: 0px;
        margin-right: 0;
        margin-bottom: 0;
        margin-left: 0px;
        padding-top: 15px;
        padding-right: 10px;
        padding-bottom: 0;
        padding-left: 20px;
        font-size: 14px;
        line-height: 30px;
    .twoColFixLtHdr #footer {
        padding: 0 10px 0 20px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
        background:#DDDDDD;
        clear: both;
    .twoColFixLtHdr #footer p {
        margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
        padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
    .fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
        float: right;
        margin-left: 8px;
    .fltlft { /* this class can be used to float an element left in your page */
        float: left;
        margin-right: 8px;
    .clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
        clear:both;
        height:0;
        font-size: 1px;
        line-height: 0px;

    .twoColFixLtHdr #header {
        background: #a4c2c2;
        padding: 0 10px 0 20px;  /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
    The instructions (comments) above give you a clue. Zero out the left (20px) and right (10px) padding.
    .twoColFixLtHdr #header {
        background: #a4c2c2;
        padding: 0;

  • "Send Link..." does not function since the most recent updates

    Hi Everybody!
    So my "Send Link..." option in the top of the Browser doesn't function properly anymore. I have it attached to my gmail account and used to function but it hasn't as of late.
    Any troubleshooting info would be greatly appreciated, if any.
    THANKS!

    There has to be an e-mail client set in order to see any effect if you select Mail items.<br />
    So you first have to make sure that that part is correct and that is the default mail program as set in the OS and the Mailto setting in Tools > Options > Applications.<br />
    You can try to redo the the default email program and set another program as that.<br />
    Other settings that may interfere are mail prefs that you can inspect on the about:config page and a possible corruption of the file mimeTypes.rdf in the profile folder.
    * Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    * http://kb.mozillazine.org/File_types_and_download_actions
    You can look at the network.protocol-handler.external.mailto prefs on the about:config page.
    If network.protocol-handler.external.mailto prefs are user set (bold) then right-click and Reset them to the default value.

  • Computer won't start and light just flashes as if in sleep mode. Does not even make the start chime. displays remain dark.

    Computer won't start. sounds like it makes an attempt at accessing a hard drive. but then just goes to sleep. no start up noise. no displays come on.

    Resetting SMC could solve the problem.
    Intel-based Macs: Resetting the System Management Controller (SMC) - Apple Support

  • Photoshop Elements 13 tutorial does not look like the version I have.  Help?

    I recently got Photoshop Elements 13 because I believed it function somewhat like Photoshop, but cheaper.  The moment I opened it, I noticed the interface was completely different.  So, I clicked on the link for the beginners tutorial in eLive, which sent me to this link: Get Started with Photoshop Elements 13 - YouTube
    However, the one in the video shown above looks slightly different from mine, making it difficult to follow along.  On the top bar in the video, it goes from eLive>Media>People>Places>Events.  The one I am using goes from eLive>Quick>Guided>Expert. 
    Could someone help me fix this so I could follow along the video instead of learning by myself?

    Hi,
    Photoshop Elements comes in two main parts. You are looking at the Editor part, the video is showing the Organizer part.
    Either select Organizer from the bottom toolbar of your screen or go to the Welcome screen and select Organizer.
    Brian

  • HT2589 i can sign into itunes using my appleID, but my appleID does not work for the app store . . . help??

    help

    Hello nick,
    Thanks for dropping by our Support Community!
    The following article would be a great place to start in your efforts to restore the iTunes Store's functionality to your computer.
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    Cheers,
    Allen

  • PO not picking up the Price from Info Record ???

    Hi,
    Pricing Procedure and the Schema Grp is defined in Schema Determination in SPRO.
    Schema Grp has been assigned in the Vendor Master.
    Price has been maintained in the PB00 condition type in the Condition Supplements screen, but shows 'Zero' in the 'Purchasing Org. Data 1' screen of Info Record.
    However, while creating PO the system does not pick up the Price from the Info Record and both the Condition Types PB00 and PBXX appears and display the Amount as 0.00 ? Also the system does not take the value entered in the 'Net Price' field and the Price can only be entered manually in the Conditon Type in the Conditions Tab ?
    Can anyone help in resolving this issue ?
    Lucky.

    Hi Lucky
    1.Routine 6
    This is an example of a pricing requirement.  This requirement is met if the condition exclusion indicator is not equal to 'X'.  <b>This requirement can be assigned to a condition type in the pricing procedure to ensure that it is not accessed when a condition record with exclusion indicator 'X' has already been found</b>.  Condition exclusion is a general tool that can be used to exclude conditions from pricing based on previous conditions that have been found in the pricing procedure.  This requirement is intended for use in MM pricing versus SD pricing.  For SD pricing, a variation of requirement '2' should be used which would also check to see if the item category is relevant for pricing
    2. You have define all your supplementory condition in supplementory pricing procedure and you have to assign this supplementory procedure to your Condition type PB00.Then all these conditions will be displayed at item level for selection in drop down.
    Since the supplementory conditions are dependent on PB00, you have assign to the PB00.
    If you maintain the values for these conditions in info record, these values will be copied from info to PO.
    Regards
    Ramakrishna

  • Requested query does not exist on the current server.

    Hi All,
    I am facing a problem in BI 7.0 related to query view.I am able to create a view on a query and can successfully save it .But when I am trying to open it using Bex Analyzer, it throws an error that query does not exist on the current server.
    Please find the steps below which I did to create a query view in BI 7.0.
    1.Executed query and then clicked on save from the tool bar.It asks me to save as workbook or save as view.I clicked on save as view and gave some name to view.It saved successfully.
    2.Now when in Bex I am trying to open the view , it gives the message 'The requested query does not exist on the current server'.
    Please help me in solving the issue.
    Regards,
    Phani.

    Hi,
    I am facing the same problem, though some others of my views can be opened.
    We had an upgrade of the system to Support Package stack 13. Maybe this caused problems.
    My BEx Analyzer Version is:
    Support Package 14, Patch 3, Revision 811
    Philipp

  • The IM translator does not open rather Blank Mozilla page comes up Help to overcome it

    I had IM translator working for few years.Lately it does not open up.Instead a blank maximum page of Mozilla appears.
    I tried to delete the translator and reintroduce it.It does not work.Also the mail from one web site does not open.
    All this started after I up dated Skype
    Please help and guide me.

    You appear to have the latest version 7.1 of imtranslator. Maybe one of your other plugins or extensions is interfering. Or maybe you have some security related software that is blocking imtranslator.
    Try creating and using a new Firefox profile. In the new profile: remove all extensions other than imtranslator, use only the default theme, and disable all plugins. Will imtranslator work in the new profile ?
    * see [[Use the Profile Manager to create and remove Firefox profiles]]
    As a stopgap measure you could try using Google.Translate or some alternative addon such as one of these
    * FoxLingo: https://addons.mozilla.org/firefox/addon/foxlingo-translator-dictionary/
    * Translate This!: https://addons.mozilla.org/firefox/addon/translate-this/

  • Using the copy music command does not copy all the music

    When I used the copy folder command in Itunes, it only copied either the even or odd numbered tracks from each album....
    It does not copy all the tracks from each album!
    any help would be appreciated.
    thanks
    Norm

    Hiya!
    It depends on what kind of digital copy you have.  This article goes ino details regarding the two types, and depending on the type you have, you may or may not need the DVD to redeem the code.
    Transferring video from DVDs with iTunes digital content
    http://support.apple.com/kb/HT1539
    I hope this helps!  Best wishes and good luck!

  • Document does not exist in the calender year 2006

    Hi,
    I am getting an error message while posting MIGO stating that "Document "XXXXXXXXX" does not exist in the calender year 2006" Please help to resolve this issue...
    Thanks in advance....
    Senthil Kumar

    Hi Senthil
    Try these steps
    Go to TCode SU01 ==> In that go to the change tab with your loging Name
    ==> go to Parameters tab ==> give Parameters MMPI_READ_NOTE with
    date
    format as YYYYMMDD (say today 20060612) and SAVE.
    Go to MMPI T-code and open the old periods which you want to post into,
    But one thing the period opening will be valid for only for the
    particular day only. After you complete the posting you have to close
    the periods through MMPV accordingly,
    Regards,
    Sachendra Singh

  • My iphone 4 does not register calls made to it. if i make a call from another phone, i can hear it ringing, but it does not register on the iphone. also, i do not get any messages when this happens. then after a day or two it decides to start working.

    My iphone 4 does not register calls made to it. if i make a call from another phone, i can hear it ringing, but it does not register on the iphone. also, i do not get any messages when this happens. then after a day or two it decides to start working.

    Clean iPhone charging port with clean dry toothbrush. See if better. If still problem clean charging port again with toothbrush and small amount of Isopropyl Alcohol.

  • After updating to OS 10.8.3 java does not function.  I've validated the most current version of Java is installed.  Has anyone else had this issue?

    After updating to OS 10.8.3 java does not function.  I've validated that the most current version of Java is installed and active in Safari.  Has anyone else had this problem?

    Yes indeed.  See this thread - I have found a fix, but I am hoping once the engineers see this (Bug filed) that someone has an easier method, or a patch.
    Something went wrong with the update in certain instances and it kills the Java plugin.  Give this a shot - it takes a bit of time, but worthwhile.
    https://discussions.apple.com/message/21528056#21528056
    medward wrote:
    After updating to OS 10.8.3 java does not function.  I've validated that the most current version of Java is installed and active in Safari.  Has anyone else had this problem?

Maybe you are looking for

  • I can't open three raw files from Adobe Camera Raw to Nik Efex

    Something strange is going on that never happened before.  I used to be on CS6 but now am on CC with the latest Adobe Camera Raw.  I used to be able to select three photos in camera raw and then click Tools and then I'd see my Nik Efex plugins and ch

  • POWL Query Column Sorting Disabled

    Hello, We are implementing MSS on Portal and using POWL for Time Approvals. For one query in POWL, the Sorting Option is disabled for all the Columns ,also when I goto the Settings Dialog -> Sort Tab , there are no Columns available under Unsorted Co

  • Atheros AR3011 Bluetooth not showing up in devices list

    Hi, I'm new to the forums here. Been trying to get Bluetooth to work, any help is appreciated. $ uname -r 3.15.2-1-ARCH Devices shows up empty: # modprobe btusb # systemctl start bluetooth # hcitool dev Devices: # bluetoothctl # power on No default c

  • Trouble with photos looking different after exporting to LR5

    I am new to lightroom 5.  My photos do not look the same after exporting to CD or to a photo lab for printing.  I am exporting to my hard drive before burning to CD.  Can someone help?  I am starting with RAW or CR2 files before editing.

  • Cisco PCA preferece settings

    Hi, I am having a strange issue with Cisco PCA. I will login to the cisco PCA and then set the phone number to internal dial number in the options under preference>>personal and save it. I will come to the messages in the Inbox and click on the Speak