How jvm threads works on new Linux 2.6 scheduler with SMP kernell

Hi,
i'm using Sun JDK Java HotSpot(TM) Server VM (build 1.5.0_14-b03, mixed mode) to run tomcat,
anyone knows How JVM threads works on new Linux 2.6 scheduler with SMP kernel?
i ask this, because in a single processor machine the tomcat replies more fast than a dual processor machine, maybe the reason is, that SMP load balancing made for new scheduler, slow down the JVM performance for threads? there is a way to avoid this?
reference about Linux Scheduler: http://www-128.ibm.com/developerworks/linux/library/l-scheduler/?ca=dgr-lnxw09LinuxScheduler
bug that have "same" problem: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5038858
thanks for any insight

This is bug:
6328462 Linux getCurrentThreadCpuTime() does not match with getThreadCpuTime(currentThread)
It will be fixed in:
- JDK 6.0 (Mustang) build b63
- JDK 1.5.0_07 build b01
The problem is that the HotSpot VM takes the stat info from the file'/proc/$tid/stat'
which is incorrect on Linux kernels 2.6+ with NPTL because this file aggregates
per-process (.vs. per-thread) usage on these kernels.
The file '/proc/self/task/$tid/stat' still has the per-thread usage and must be used instead.
There is also a performance bug:
6200022: JVMTI GetCurrentThreadCpuTime slow on Linux
This bug is about using new Linux posix compliant process clocks (2.6.10) :
http://sources.redhat.com/ml/libc-alpha/2004-10/msg00117.html
It is too late to fix this in Mustang but can be possible in one of the update releases.
Thank you for posting the question!
Serguei

Similar Messages

  • How can i delete the new feature "get in contact with your favourite persons"?? When u press the "home" button twice, theres a list on top of the ipad with the last persons youve been in contact with. How do i delete that, or some of them ;-)

    How can i delete the new feature "get in contact with your favourite persons"?? When u press the "home" button twice, theres a list on top of the ipad with the last persons youve been in contact with. How do i delete that, or some of them ;-) Sorry for the danish  

    You can turn that feature off in Settings>Mail, contacts, calendars>Contacts>Show in App Switcher>Recents>Off.

  • How do i get a new tab to open up with my home page after i click on the + at the end of the tab

    how do i get a new tab to open up with my home page after i click on the + at the end of the tab

    problem solved thak you Andy.c that was too easy and a fast reply i'm abit of an iliterate with these things

  • HT4915 Since downloading the latest iTunes, I am unable to delete songs from my iPhone 4s and songs I have purchased on iTunes are not available on my iPhone 4s. My computer no longer seems to recognise my iPhone or iPad. How do I work the new iTunes plea

    I hate the new iTunes, I can't find anything and can't delete music from my iPhone4S. I can't find my iPhone or iPad when I plug them into my computer and I now have a whole lot of stuff I don't want on my phone. I have relaxation music on my iPad (for work) and other music on my iPhone. The new iTunes has now put everything on my iPhone and I can't get it off. I've disabled Match from my iPad to prevent the wrong music from appearing. Help please someone, I'm going insane.

    In iTunes go to View>Show Sidebar.  This will make it look and behave more like previous versions.  Then connect your phone, click on it's name on the left side, go to the Music tab and make sure you haven't selected Sync your entire library.  You may want to check the songs in your library that you want on your phone, then go to the Summary tab of your iTunes sync settings and select Sync only checked songs and videos, then click Apply at the bottom to sync your phone.  This should transfer only the checked songs and remove the rest.

  • How do constructors work without new keyword?

    Hi guys,
    I'm developing UI5 applicaitons.
    I use jsview to build the UI.
    In one of the pages, I need a dialog to popup.
    So define a dialog in createContent funciton of the view:
            var dialog = new sap.m.Dialog(this.createId('idDlg'), {
                content: [
                    new sap.m.Input()
                beginButton: new sap.m.Button({
                    text: 'OK',
                    press: [oController.onOKPressed, oController]
                endButton: new sap.m.Button({
                    text: 'Cancel',
                    press: [oController.onCancelPressed, oController]
    But afterwards, I find there's no need to declare a variable to store the dialog instance, so I remove it, it still works:
            new sap.m.Dialog(this.createId('idDlg'), {
                content: [
                    new sap.m.Input()
                beginButton: new sap.m.Button({
                    text: 'OK',
                    press: [oController.onOKPressed, oController]
                endButton: new sap.m.Button({
                    text: 'Cancel',
                    press: [oController.onCancelPressed, oController]
    And after that, I'm using jslint to check code statically, lint tells me do not use new for side effects, so I remove the new keyword, it still works:
            sap.m.Dialog(this.createId('idDlg'), {
                content: [
                    new sap.m.Input()
                beginButton: new sap.m.Button({
                    text: 'OK',
                    press: [oController.onOKPressed, oController]
                endButton: new sap.m.Button({
                    text: 'Cancel',
                    press: [oController.onCancelPressed, oController]
    So I'm wondering why the constructor still works even without new?
    what will the above code do?
    And what's the difference between with and without new?
    Regards,
    Aaron.

    Let me give you a simle example. say you've a constructor
    var Constructor = function(name){
         this.name = name;
    You create an instance of constructor as,
    var oInstance = new Constructor("My Instance);
    the Constructor will get executed with the context 'this' as 'oInstance'.
    oInstance.name // My Instance
    var oInstance = Constructor("My Instance);
    the Constructor will get executed with the context 'this' as 'window'.
    oInstance.name // Type Error
    window.name // My Instance

  • HT202213 How do I authorized a new computer for itunes sharing with my Iphone?

    I just bought a new Sony VIAO and I am trying to get all my information off my phone and onto my computer, but it is telling me that I must authorize my computer on this apple account first.  How do I do that?

    See this Discussion...
    https://discussions.apple.com/thread/4631735?tstart=0

  • How can I add a new certificate to be used with SFTP

    Hi,
    I wanted to know how to add a new certificate (from MS server) so it can be used by sftp. I tried certtool, but got error messages. It's a DSA cert, and I need to secure ftp to this site.
    Thanks in advance

    Hi Bob,
    > Certs, keys same difference;
       Do you regularly state your own misconceptions as if they are fact? Your lack of precision and detail make even correcting those misconceptions problematic but I'll assume that you're referring to X.509 certificates and try. X.509 certificates contain keys but they are hardly the same thing. Most important, the X.509 specification implies a mechanism of distribution and usage entirely different from the manner in which OpenSSH handles keys internally.
       The SSH applications of SSH Communications, Inc. have X.509 certificate support builtin but I don't know if they have a client for Mac OS X. Roumen Petrov has written patches for OpenSSH that are purported to allow it to use X.509 certificates. A thread on comp.security.ssh contains a link to the source code of a utility for extracting keys from X.509 certificates and reformatting them for use with OpenSSH.
       Using the correct terminology is not only conducive to fruitful communication, it helps in using Google to search for relevant reference material. Hopefully being armed with the correct terminology will help you find the information to accomplish whatever it is you're trying to do.
    Gary
    ~~~~
       Marvelous! The super-user's going to boot me!
       What a finely tuned response to the situation!

  • How can I work on a Logic Project in Logic9 with a user who is running LogicX without just trading stems?

    I am running logic9 and don't want to upgrade to X yet, but my writing partner is using LogicX and we haven't been able to figure out how to open Projects and share between us on DropBox.  All we can do is pass audio files back and forth. Any thoughts?

    Just another thought..... according to this
    http://support.apple.com/kb/HT5794
    "When you open an older project in Logic Pro X it does not change the original project in any way. Instead, a new copy in the Logic Pro X project format is created which leaves the original project in place. You can continue to work with the original project in the version of Logic it was last saved in if you want." 
    Does this mean the 9 project will open with the changes made in X, if it's just adding audio files to the arrange?

  • Can't get alarm to work on new ipod--never had trouble with old ipod

    Greetings all,
    I just got a new Classic 120GB and it is great but I can't get the alarm clock to work...when I set a time for the alarm clock, it doesn't seem to remember this time but it instead defaults to an hour later than the current actual time...I tried several times to reset the alarm for a minute or two in the future so I could test it and see if it made any sound...I have reset the ipod and the normal time and date display is correct. I also can't get the beep sound to work, although I can hear the clicking when you scroll through things and so the internal speaker is clearly working. I used my old Ipod Photo for years as my alarm clock and I never had a problem with it...anyone have any idea how to fix this? I have the most recent ipod software, am using an older 17" G4 powerbook running 10.4.11. is there something obvious I am overlooking?

    update: I can get an alarm message (you have an alarm) and a choice to dismiss or "snooze" but the internal speaker is still not kicking in and obviously a silent alarm is not ideal in this instance. When I try to hear the "beep" under tones, it doesn't make any sound but bounces me back to "sounds"...I can hear the clicking when scrolling and so the speaker seems activated but is muted somehow for the alarm. My old Ipod had a nice little alarm sound and I was hoping to use my new Ipod as an alarm clock as well...not a life or death thing, but I can't figure this out and I have read everything I could find. Help!

  • How do I get my New Macbook pro to sync with .mac account????

    I just purchased a new Macbook Pro to replace my Ibook G4 which had been successfully syncing on my .mac account with my Imac G5 desktop computer.
    The new Macbook Pro has Leopard while my G5 has Tiger. The salesperson told me that this would NOT be a problem at all. I configured the Ical to sync automatically in the preferences along with contacts and mail accounts. They both worked fine but the ICal does not sync.
    Any help would be greatly appreciated.
    Thanks,
    Skip

    Thanks for your reply. Yes I did, several times. What finally happened is after about 18 hours, the syncing started to work. I think what happened was that the mac server must take some time for backing up or whatever and all of a sudden when it did, it synced....
    go figure.
    Skip

  • How do I create a new photo album on iPad2 with o.s. 6.1?

    I have an iPad 2 with software version 6.1.  When I try to create a new photo album, no keyboard appears when the "Enter a name for this album" box comes up.  What am I doing wrong? How do I enter the name of the new album? 

    I just retried adding a new photo album, and my problem seems to have fixed itself.  If I have any future trouble with the keyboard not appearing, I'll try the tapping trick.  Thanks, Tgara!

  • How do I install the new "unified series Beta driver with OpenAL support" driver?

    Hey guys, I'm going to reformat later today and I need instructions on how to install these latest drivers.
    Once I reformat, I will install Windows 2000 SP4.
    When I reboot, I will insert the CD that came with my Audigy 2 and I will select "Custom Install" and I will select to install everything EXCEPT the driver.
    Then when I have installed all the Creative software from the CD that came with my Audigy 2, I will reboot.
    Now I will install the "unified series Beta driver with OpenAL support" driver and then reboot.
    Is that the correct procedure? If not PLEASE tell me!

    My game music always (now I've asked for it!!!) seems to work; have you tried disabling cthelper in your config as that seems to ?$!&^ everything up; on my system it was causing crashes and also meant my system was taking 0 minutes to shut down!
    And while we're at it, maybe someone from Creative could expand on the really useful info the guys above have given (thanks guys!).
    Oh yeah, one last suggestion for Creative; maybe make the installation of "cthelper" optional in the installation program and/or have a check box in the Creative config software to turn it on off with an explanation as to why people may want to do this (ie may cause problems on some systems)...
    G

  • How to copy and replace new Mountain Lion hard drive with old Snow Leopard drive?

    So far I have not found an answer to my question, so I am hoping that this is feasible.
    A while ago I purchased a used 2010 Macbook Pro running Snow Leopard that did not have the installer disc. A week ago the hardware died on me, so I replaced it with a new 2012 Macbook Pro running Mountain Lion.
    The problem is that I purchased a 1 TB aftermarket HD for my old Macbook Pro and want to replace the current smaller hard drive in my new computer with it. I've already run Time Machine and put all of my data in my new computer so I figured that it would be possible to simply copy that disk image back over to my old drive and replace it. However the computer showed that they weren't compatible. When I tried to put my old hard drive in my new computer there was not a bootable OSX available.
    Since Mountain Lion already came on my new computer I do not have an installer that I can use.
    Is there anyway I can copy the current Mountain Lion information from my new hard drive and basically have a fully functioning, bootable copy on my old hard drive that I can put back into my new computer?
    Thank you.

    Well, if you put the HDD from the old Mac into an external enclosure you can use a tool like Carbon Copy Cloner or SuperDuper! to clone the Mountain Lion installation onto the 1TB drive.  If you go this route, I would suggest you consider using CCC as it does have the option to clone the Repair Partition as well as the boot volume.
    Another route you could take would be to put the 1TB drive into the new MBP, and then boot to the Internet Recover .  From there you can re-partition the drive and install Mountain Lion clean on the 1TB drive.  During the installation process, you will have the option to use the Migration Assistant to migrate your data & apps.  You can use your Time Machine backup for that, or if you have the original drive in an enclosure, you can migrate directly from the external drive.  I have used this latter method myself a few times.

  • How do you create a new Library and populate it with folders & shortcuts?

    is it possible to create a new Library, have it on the start menu and populate it with folders and shortcuts within GPO's?
    I need something like this.
    mqh7

    Hi
    Checkout the below link on creating custom libraries and deploying them through GPO,
    http://social.technet.microsoft.com/wiki/contents/articles/4809.create-custom-libraries-in-windows-7-and-deploy-them-through-group-policy.aspx
    Regards,
    Gopi
    JiJi
    Technologies

  • How to sysnc apple the new 3g iphone over bluetooth with my macbook ?

    Well,I just bought this phone from at&t today for that much luring discounted price of 199$.The features on this phone are highly frustrating apart from not having cut copy and paste,now the blue tooth won't pair with my apple notebook.
    Does anyone have a solution for this? I do not want to use the sync cable.so please do not suggest on that front.This phone is nothing but annoying piece of technology.
    No cute&paste and copy.
    No blue tooth for connecting with laptops
    and many more features missing.I think i am going to return this.

    I thinnk apple did not pay enough Bluetooth liscence for the rest of the profile? The hardware is capable to do all those and more but now it's like Verizon phones before only crippled to headset. Return yours and get HTC pad phones instead they are the best

Maybe you are looking for

  • How do I operate multiple monitors on my HP Pavilion Slimline Pavilion s3600t?

    Hello HP Forum, I am looking to operate 2 monitors on my HP Pavilion Slimline Pavilion s3600t that currently has GeForce 7100/NVIDIA nForce 630i.  I am not a computer technician and only semi-tech saavy (less than more).  I was told I needed a video

  • Multiple facts with non-conforming dimensions

    Hi, I have a question re: using multiple facts in a report, where one of the facts has a non-conforming dimension. I have two metrics: "PAYROLL" and "UNRECONCILED DIFFS". The payroll metric is at the employee level, but the "UNRECONCILED DIFFS" is no

  • Provison for including Territories in aging reports

    Hi Development Experts, At present I am working on a SBO 8.8 PL 04 Ramp Up Project, where I come across the requirement of Territory wise customer receivable - Aging. I beleive as there is provison for selecting/mentioning/mapping Territory against e

  • Error when upload appraisal offline forms on portal

    We have use BAdI HRHAP00_OFFLINE to download and upload appraisal document on portal. The error message occurs when upload appraisal document and we cannot debugging in the BAdI, I think the error raise before BAdI processing. Please see error messag

  • Can't Export PDF

    I have now wasted another hour trying to access my subscription to Export PDF. I'm sick of your ad, which is the only thing I get when I try to export the file.. I've signed in. What's blocking the conversion to word.