Load on 2 CPUs is smaller than 2 times load on 1 CPU, how to improve?

Good afternoon,
I am trying to improve the performance on my system.
I have used "pbind" to fix a process on a CPU, like this:
Process P1 -> CPU 1
Process P2 -> CPU 2
Every process uses Oracle access (although most of the data are loaded into memory) and a connection towards another central process.
The problem now is the following:
if I launch process P1 50 times/second, the first CPU runs on 22% idle.
If I launch, next to P1, process P2 also 50 times/second, both CPUs (1 and 2) run on 19-20% idle.
If I launch, next to P1 and P2, process P3 also 50 times/second, all three CPUs (1, 2 and 3) run on 16-17% idle.
As my systems contains 16 CPUs, at the end, I loose 56% performance.
Now I wonder what is the nature of this performance killer? Is it simultaneous disk access, simulateneous interprocess communication, is it a purely UNIX related issue, is it an Oracle problem, ...?
Can anybody give me some ideas which could be the problems and how to investigate how to detect and verify them?
Thanks
Dominique

Try this, almost identical, but with less execution time.
SELECT
a.Consumption AS Consumption ,
a.Cost AS Cost ,
a.CreatedBy AS CreatedBy ,
a.CreatedDate AS CreatedDate ,
a.UpdatedBy AS UpdatedBy ,
a.UpdatedDate AS UpdatedDate
FROM Positions b
JOIN PortConsumption a
ON a.PortRotationId = b.Id
WHERE b.VoyageId ='82A042031E1B4C38A9832A6678A695A4';Rgds,
Ahmer

Similar Messages

  • When I use AirPlay to mirror a video through my iPad there is a lag at times. Does anyone know how to improve this?

    When I use AirPlay to mirror a video through my iPad there is a lag at times. Does anyone know how to improve this?

    Since I updated my apple TV firmware the other day to 4.4.2 (3160) My video streamed from my iphone 4s loads inconsistently, and more troubling, much more slowly that with the previous version of the software.
    Since I'm not technically, 'mirroring' as you are, on it's face, doesn't seem related. I'm just throwing this out since after looking for comments about radical changes in airplay after this update, I couldn't find much on this.
    Did you install  this latest Apple TV update?  For me it's an  obvious difference. Previously I could start the airplay from my phone and not really have delays for loadiing or buffering. I don't have any other  'load' on my wifi or anything new that could be delaying the link from phone to airpay.
    Anyone?.....

  • For some reason all of my forwards, and my printing come out significantly smaller than the original. Any idea how to get this back to printing the size of my screen and forwarding the size of the original mail I've received? Thanks.

    Hi. I am not technically proficient. I have somehow hit something that is making my email forwards and text to the printer way smaller than what is appearing on my screen. I have looked into everything I can think of in settings and outlook express. If you have any ideas, I would greatly appreciate them. I assume that one click and I'll be back to "normal", but can't figure out which darned click that would be.  Thanks.

    Have you checked Outlook's font preferences?  You can change to size under General Preferences>Fonts.  You can also change font sizes by using ⌘shift+

  • Backup vault always smaller than the library...?

    My backup vault is alvays about 1 GB smaller than the original Aperture Library. How come? Is this right?

    Thanks Now I can sleep well again.

  • Time Machine backup smaller than source

    Hi everybody -
    I just did my Time Machine backup, and I've noticed that the content on the backup is about 5 GB smaller than the content on my MBP's source. (And yes, this deficit is taking into account the items I have already excluded from backup.)
    In fact, when I open up Time Machine options, and I see the list of excluded items, the "approximate size of backup" says 240GB, but the actual size of the backup is 235GB. Any idea what's going on here? Assuming that everything is working as it should, I'm not terribly concerned about this discrepancy, but if it's indicative of something not working properly, I want to get it taken care of, should I experience a need to restore to a previous backup at some point.
    Ideas? Thanks!

    Try a new post in the 10.6 Time Machine forum.
    DALE

  • Loading in each mclip one at a time

    Hi,
    I have a site that in which each section is in it's own
    mclip. I simply want each mclip to load in when it is navigated to
    rather than the whole swf loading in at the start.
    I have the following actionscript to make the whole swf load
    in but need to modify it to cater for each individual mclip:
    onClipEvent (load) {
    total = _root.getBytesTotal();
    onClipEvent (enterFrame) {
    loaded = _root.getBytesLoaded();
    percent = int(loaded/total*100);
    text = percent+"%";
    gotoAndStop(percent);
    if (loaded == total) {
    _root.gotoAndPlay(2);
    How would I modify this script and where would I place it,
    (ie.on or inside each mclip)
    Thanks

    Hello Dilroy,
    getBytesTotal just goes off of file size, so with the script
    you have below,
    it will always go of the entire file size of the swf.
    The way I like to do this is to use separate swfs rather than
    separate movie
    clips. Then I use loadMovie to load the swfs onto the stage.
    It makes your
    main swf way smaller, and makes managing and editing specific
    movies down
    the road a little easier too.
    Then you could use your preloader script below on each
    individual swf if
    needed.
    Jesse H.
    Adobe Community Expert
    My site:
    http://www.jharding.com
    Free Blog Radio:
    http://www.tornadostream.com
    > Hi,
    > I have a site that in which each section is in it's own
    mclip. I
    > simply want
    > each mclip to load in when it is navigated to rather
    than the whole
    > swf loading
    > in at the start.
    >
    > I have the following actionscript to make the whole swf
    load in but
    > need to modify it to cater for each individual mclip:
    >
    > onClipEvent (load) {
    > total = _root.getBytesTotal();
    > }
    > onClipEvent (enterFrame) {
    > loaded = _root.getBytesLoaded();
    > percent = int(loaded/total*100);
    > text = percent+"%";
    > gotoAndStop(percent);
    > if (loaded == total) {
    > _root.gotoAndPlay(2);
    > }
    > }
    > How would I modify this script and where would I place
    it, (ie.on or
    > inside each mclip)
    >
    > Thanks
    >

  • Problems with text in iWeb publishing much larger, or smaller than in iWeb (it is insane)!

    More than a year ago I had a problem with my iWeb not publishing correctly: links to other websites would not open in a separate window as designed in iWeb. I got help from an AppleCare techie and after he did a lot of tests, he concluded I had a corrupted Domain file (which became apparent after I upgraded to OS Snow Leopard).  I don't remember if I discussed with this techie another problem I had been having for as long as I had used iWeb, and that was "exploding" text: certain words, often italicized, would be huge, after publishing, relative to the surrounding text.  Sometimes certain words, or sentences would be smaller than designed in iWeb.  Through trial and error I would sort of solve these problems by enlarging text boxes, or making the offending word or phrase one text point smaller.  Sometimes deleting the text box entirely, and starting over would work.  And then there are the weird things that happen when my wife opens my website in Internet Explorer: things that make no sense and seem to be totally out of my control.
    So, I've spent a long time rebuilding my website in this supposedly uncorrupted Domain file, and today I finally finished and published to my hard drive, checked it out, and the "exploding" text is there with a vengeance.  So much so that I may just stick with my original ("corrupted") Domain file, the text problem on this new one seems even worse than the old one.  Anyone had this problem?  I meant to ask this question years ago, but got a bit lazy.
    Another question is: I've heard Apple is going to discontinue iWeb.  Despite my problems with the program, I rely on it.  What are the options going to be for iWeb users?

    Well you heard wrong didn't you!
    Apple is discontinuing MobileMe, which is the hosting in favour of iCloud services which will not contain any hosting.
    iWeb is an app and as far as we know you can still continue to use it - it will still work so carry on using it if you are happy with it.
    If you want to look at other alternatives to iWeb, then others suggest RapidWeaver and Sandvox as being closer to iWeb - both are available via the Mac App store.
    Also Freeway Express and Flux 3 are worth looking at - more design freedom and you are not restricted to templates as with RapidWeaver.

  • How can i control what images load on my project to save preload time and avoid loading all images, elements, divs not yet visible?

    Sup buddies,
    How can I control what images load on my project to save preload time and avoid loading all images, elements, divs not yet visible?
    As the project grows in size the load time increases. How does one control not loading all images ,divs,elements etc. until they're
    needed on the timeline? For example some sections are off and only become visible when recalled. My projects slowly grow in size so loading
    all images , is counter productive . My other option would be to create separate htmls but that breaks the seamless user experience .
    TY...Over N Out... 

    hello, kiwi
    quote: "Is there an easy way to burn a completed project to DVD, but keep only the (lo res, lo size) previews on my hard drive?"
    yes.
    maybe,...
    1. you might think of making DVD backups first prior to importing the photos into Aperture. "Store Files: In their current location" once in Aperture make low rez Previews, and export finished Project.
    or,
    2. bring in the photographs to hard drive first prior to importing the photos into Aperture. "Store Files: In their current location" once in Aperture make low rez Previews, and export finished Project.
    the low rez Previews will stay in Aperture but the high quality Versions will be exported onto DVDs and gone from the hard drive (if you delete the originals).
    another way would be to export small about 50-70 pixel wide high quality jpegs to a folder on your Desktop and import & keep these in Aperture Library as a reference. make metadata to show where the original Project DVDs are stored and DVD filing system used.
    victor

  • Hello, I have a Mac computer with NVIDIA 750M dedicated graphics card and monitor EIZO but the problem was there when I was working with Windows and Acer monitor. When I open a file from Camera Raw in PS this is smaller than the screen so I double-click w

    Hello, I have a Mac computer with NVIDIA 750M dedicated graphics card and monitor EIZO but the problem was there when I was working with Windows and Acer monitor. When I open a file from Camera Raw in PS this is smaller than the screen so I double-click with the tool "hand" to fit on the screen, but the picture loses sharpness and becomes blurry. If you magnify the image even only slightly with the tool "zoom" the picture comes back clear. In Camera Raw instead is always sharp. I solve the problem by turning off the graphics card in PS but often use plugin that need the graphics card otherwise the processing time is much longer. I ask for help.
    Thanks.

    Hello, I have a Mac computer with NVIDIA 750M dedicated graphics card and monitor EIZO but the problem was there when I was working with Windows and Acer monitor. When I open a file from Camera Raw in PS this is smaller than the screen so I double-click with the tool "hand" to fit on the screen, but the picture loses sharpness and becomes blurry. If you magnify the image even only slightly with the tool "zoom" the picture comes back clear. In Camera Raw instead is always sharp. I solve the problem by turning off the graphics card in PS but often use plugin that need the graphics card otherwise the processing time is much longer. I ask for help.
    Thanks.

  • Image in Photoshop looks smaller than in a viewer. Please help!!!

    When i view an image in PS CC in looks 2 times smaller than in Mac OS Preview or in any other viewer. I tried it on another computer - same thing. (Photoshop CC, 15 inch Macbook Pro with Retina display)
    Moreover, while the image looks sharp in photoshop, in viewer it looks like it's been magnified to 200%. So i create an image in photoshop say 300x300 pixels, 72 dpi, save it as jpeg, open in Preview at 100% and it looks twice as big as in photoshop and blury. if i post this image to the website, it looks exacly as in viewer, but not like in photoshop. Don't know what to do. Please help

    You do not understand some things.  Any image DPI resolution is meaningless when it comes to displays. Displays are normally run are their native resolution which is not 72DPI.  Retina displays are high resolution displays and many applications user interfaces were designed for display with low dpi resolution like 96DPI.  So their user interfaces will display very small on high resolution displays.  So Apple Mac  OS may have to scale up some application their User interface so the will display the same size as the would on a low resolution display to be useable. It is also possible that the Mac viewer may also scale up things so the look like the would on low resolution displays.  Photoshop would most likely display images on a retina display without scaling things up. So the would smaller and sharper in Photoshop.  It all about resolution.  A pixel has no size till there is a DPI association.  DPI defines pixel size for example 300 dpi with square aspect ratio would mean there are 9000 pixels per square inch each pixel would be 1/300"x1/300"  At 100DPI each square inch contain contain 1000 pixels each would be 1/100x1/100inch an image with 1200x1800pixels would print 4"x6" at 300dpi and would print 12" x 18" at 100DPI the 300dpi image is smaller and sharper then the 100DPI image.
    Web pages are normally design to fit on displays.  Displays have a limited number of pixels,  So web pages are design for the mythical standard display.  In the past displays all had low resolution and the number of pixel they had were typically 640x480, 800x600 then 1024x768 all had 4:3 aspect ratios. That changed some displays showed up with 5:4 aspect ratios then in 2001 IBM showed up with LCD  22.2" 9.2 MP 16:10 204dpi and 3860x2400pisels. The marketplace was not ready at that time. Even now the marketplace is not ready.  They are making 10" tablets these days with 2560x1600 pixels with a 300DPI resolution.   Web pages these days need versions for high resolution mobile devices like laptops and tablets as well as for desktops on old  devices. Other solutions are being worked on to dynamically alter web a page on servers and devices for the display the user is currently using.
    Bet you still do not know what to do but perhaps you understand what is going on.

  • My macbook had a weird behavior on the display, now it won't go further than gray loading screen with the apple logo

    My macbook had a weird behavior on the display, now it won't go further than gray loading screen with the apple logo. It's a macbook pro early 2011. I've read that those are having issues, if there's someone i can contact for further information, report the issue since it's getting common or any temporal solution available. Thanks

    Reinstall Lion, Mountain Lion, or Mavericks without erasing drive
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported then click on the Repair Permissions button. When the process is completed, then quit DU and return to the main menu. Select Restart from the Apple menu.
    Reinstall Mountain Lion or Mavericks
    OS X Mavericks- Reinstall OS X
    OS X Mountain Lion- Reinstall OS X
         Note: You will need an active Internet connection. I suggest using Ethernet
                     if possible because it is three times faster than wireless.

  • Exported video size smaller than original video size. How do I keep the original size?

    I exporting a video from Adobe Premiere CS6 today, and I noticed the video was about 1/2 times smaller  than the original video I put in. I then uploaded the video on YouTube, and the size was still the same. I tried to change the preset to 1080p 29.97, 1080p 25, etc. and the same with 720p, and 480p, but the size only changed slightly.
    How do I keep the original size after exportation of videos?

    More information needed for someone to help... please click below and provide the requested information
    -Information FAQ http://forums.adobe.com/message/4200840
    Also, exactly what are you editing, and what are your export settings?
    Also, The tutorial list in message #3 http://forums.adobe.com/message/2276578 may help

  • Illustrator CS4: Images Open 3x Smaller than Original

    Every time I open an image in Illustrator, it is 3-times smaller than the original image started out.
    For example:
    An image starting out with the dimensions:
    Width: 5.35 inches / 1070 px / 385.2 pt
    Height: 5.24 inches / 1048 px / 377.3 pt
    Once it is opened up in Illustrator the dimensions are contorted to:
    Width: 1.93 inches / 386 px / 139 pt
    Height: 1.89 inches / 378 px / 136.1 pt
    And this is just from opening the image. I have not done anything as of yet. All I have to look at is a distorted pixelated mess.
    I am a bit new to Illustrator, and after hearing my friends talk about how great it is to use, none of them can figure out why Illustrator is doing this to my image files.
    Why is Illustrator doing this, and how do I get it to open image files with the proper dimensions?

    Dimensions of an image depends on its resolution. When viewing the image in an image editor it just displays 1 image pixel on 1 monitor pixel. Illustrator doesn't do this, but takes into account, what you have defined as resolution. That is: how many pixels should be on 1 inch.

  • I just upgraded to 10.9.  My exchange email won't load emails that are older than a few weeks old.  How do I change this setting so I can see all my mail?

    I just upgraded to 10.9.  My exchange email won't load emails that are older than a few weeks old.  How do I change this setting so I can see all my mail?

    Plett81,
    I'm having the exact same problem. It does not seem to be a settings issue but rather some sort of "problem" with mac mail. My Exchange provider was able to setup my mailbox on a test machine running Mavericks and everything pulled in fine, however I cannot duplicate on my upgraded system.
    I was able to get rebuild my mailbox and get the older messages within my Exchange inbox, however none of my folders and old messages outside of the Inbox are downloading/synching.
    **NOTE** I contacted Apple SUpport and they told me to call my email provider. I called my email provider which did as described above and they don't see a problem. SO as suspected it has something to do with the Mavericks update but I'm not sure Apple is willing to help. I might try contacting them one more time and see.

  • Causes of ORA-01200: actual file size of x is smaller than correct size n ?

    Hello everyone
    We are running Oracle 11.2.0.3 64-bit E/E on Oracle Linux 6.2 with UEK R2 on X64.
    Using Grid and ASM 11.2.0.3 and OMF names.
    The database files are alll on SAN, the SAN vendor name not disclosed here to protect the innocent/guilty 8^)
    I have a Test database MYDB (in NOARCHIVELOG mode) and after a normal server reboot, not a crash, the following error occured on Oracle database startup.
    srvctl start database -d MYDB
    PRCR-1079 : Failed to start resource ora.mydb.db
    CRS-5017: The resource action "ora.mydb.db start" encountered the following error:
    ORA-01122: database file 1 failed verification check
    ORA-01110: data file 1: '+ASMDATA/mydb/datafile/system.256.787848913' <<<<<<<<<<---------------------------------------------------- Corrupt file on ASM disk, system tablespace this time
    ORA-01200: actual file size of 94720 is smaller than correct size of 98560 blocks <<<<<<<<<<---------------------------------------------------- ERROR message
    The ASM disks are all up and disk groups are mounted OK. The ASM protection level is EXTERNAL.
    My understanding that the only proper recovery from the above error is to use RMAN Restore Database/File/Tablespace.etc (and then RMAN Recover, when in ArchiveLog mode).
    I do have RMAN disk backups, so I don't need to "patch" the database to recover.
    This is not my question at this point in time.
    My Question is this : what are the most likely causes of such error?
    Oracle Database bug? OS bug? Disk driver error? Server hardware failure (bus, memory, etc)? Or a SAN bug?
    I expect that Oracle 11g R2 will always come up with the database "clean" if the server reboots or if server crashes (i.e. due to complete power failure) provided the actual storage is not physically damaged.
    Our SAN vendor (no names!) says they are of the opinion that it's most likely Oracle database or Oracle Linux 6.x/UEK software bug, or probably Oracle ASM 11.2 bug.
    We have opened a support call with Oracle.....
    My personal experience dealing with similar database errors on more recent releases of Oracle (9i R2, 10g R2, 11g R2) and also MS-SQL 2005 and 2008 R2 suggests this kind of a problem is most likely related to errors/bugs in storage/drivers/firmware/BIOS and SAN and not likely to be a 'database' or O/S bug.
    Perhaps you, good people on this forum, can share their experiences, as unbiased as you can?
    Many thanks

    Ive seen Ora-1200 twice I think over the years, both times there was disk problems which led to write issues which caused file problems, youve reported no such issues on your side though so if thats actually true, Im thinking bug.

Maybe you are looking for

  • Photo stream not updating on windows PC

    icloud used to work with my ipad and download the photos to My Photo Stream. It has stopped doing this. I have now connected an iphone to the cloud and all the photos have downloaded to it. Why will the photos not update to my windows PC? If I delete

  • External Hard Drives Recommended for media and scrasj disks?

    I a working as a pro, but new to Final Cut Pro. I am wondering which external harddrives which would work best for a scratsj disk and a media disk (two separate). I am concedering La Cie Rugged drives which are Firewire 800 / 7200 Rpm and do not need

  • Weighted random value (1-10) e.g.3 will be  50 % of records

    Hello, i need to generate random values into my table. For the simplification, lets say that i need to generate values in range from 1 to 10. For this there is a lot of ways. e.g. UPDATE test_number SET random_value = round (dbms_random.value (1,10))

  • Having problems... finding theoretical 0,0 in a Frame...

    Okay, whenever I initialize a frame and try to draw on it, I encounter the same problem. 0,0 is actually the upper left corner of the Frame, <B>including the titlebar and menu!</B> I want to know how to detect the settings for a computer so that the

  • Role description tranlsation

    Hi, I try to use one role with an english and a german description. First I create a role in DE system. Name "test role" and description "Dies ist ein Test!". Now I switch to the EN system and open the role again but I can't change the role descripti