Processor Optimization

Does anyone know if programs need to be specially written to take advantage of the multi-core processors?
The reason I ask is I am currently using Roxio Toast 7 (universal binary) to encode a DiVX disc. I opened up Activity Monitor and assumed that all four cores would be maxed out. As it turns out, each core seems to be ramping up, then back down to almost nothing. There doesn't appear to be a time when more than one core is maxed out at the same time. % idle is staying at about 70%.
I suspect that the program is not really optimized to utilize multiple cores...?

I don't think the DIVX encoder (or any part of DIVX is universal yet) - 6.x, while now including some universal wrappers still is PPC native code, which might be the culprit here. Toast is also not using the latest version of if (though both are 6).
There is a beta release of the universal versions, but if you install that (from DIVX site) Toast would not be able to use it; i.e. you would have to convert in DIVX proper, then burn in Toast (versus having toast do both).
By the way, yes, any app needs to be optimized for SMI, or even multithreading. It still helps to have more than 1 CPU as the OS does not have to share it with the app(s) now, but an 'optimized' application is just that, an app that has been specifically writtent for multi CPU.
THe good news is that Xcode tools are integrated for that, and with all Macs (except the Core Solo Mini) now at least dual, I think this will become the norm for application writers.
best,
dan

Similar Messages

  • Multi-processor optimization

    Lloyd Chambers has published a Lightroom performance study of general interest to Mac Lightroom users—but maybe Windows users, too—documenting aspects of the scalability of Lightroom across hardware and including some tricks. One thing his tests suggest is that at least certain aspects of Lightroom could probably be drastically more responsive given further optimization by Adobe.
    Enjoy.

    Argh! Yes, I pasted in the wrong URL, and this forum doesn't seem to permit me to edit the original post. The correct URL is:
    http://macperformanceguide.com/Optimizing-Lightroom.html

  • Ihab's Lenovo K900 Review

    Hello everyone How are you all doing? I just finished the write up of the Lenovo K900 Reivew. I hope you like it, and if you would like to see larger/full resolution images of the ones posted here you can check out the review over at ihabstech.com. Enjoy!
    Yes, Lenovo make smartphones worldwide now. I thought that would be an appropriate opening since I keep getting the question mark look on people’s faces when looking at the phone placed in front of me and then ask “Lenovo make phones?”.
    At first I didn’t even realize they had phones and when I did, I was surprised they actually had quite a decent range. Not only that, they had their own Lenovo UI of Android. It seems they have been working really hard to get great devices out and guess which device I managed to get my hands on? The flagship. How exciting! So, lets take a look at this phone.
    That is not a perfectly angled shot to make the device appear really thin.. Okay it is, but the device really is thin! it’s stated at 6.9mm only!
    Quick Spec Sheet
    You have to re-think your understanding of big phones with the K900, the dimensions are 157 x 78 x 6.9 mm! So it is pretty huge, but in exchange for carrying the sizeable device (or phablet if you want to call it that) you get a 5.5 inch Full HD IPS screen with about 400 PPI with the screen resolution of 1920×1080 (It is very responsive and even recognizes use with fingernails and pens) above the screen sits an aray of sensors and a 2MP fixed-focus camera. Taking a step deeper into the device, we find an Intel® Atom™ Z2760 Dual Core™ 4-thread processor running up to 2.0 GHz with 2GB of RAM. The graphics centre is an Intel® GMA graphics with 533MHz clock, and both assist in running Android 4.2.1. All this powerful hardware comes in a Brushed Stainless Steel, Polycarbonate and Corning® Gorilla® Glass 2 package that weighs 162 grams. On the back is the 13MP camera with auto-focus and dual flash, capable of full 1080[ video at 30 FPS. In regards to communication, it has Wi-Fi 802.11 b/g/n, Bluetooth 3.0 and HSPA+ (up to 42MBPS) and wireless hotspot functionality. As for sensors, the K900 has A-GPS, Gravitation (I am guess a gyroscope?), Ambient light sensor and a Proximity sensor.
    Box Contents
    This is always the excitement of opening a box of a brand you have never dealt with before, I had no clue what to expect.
    The box had a cover which had the K900 branding in a huge cut out. Being that the box was black it didn’t make sense. Till..
    The inside of that cover was in red! So taking the box out lights up the K900 branding. Sexy! Lifting the cover reveals the phone. In first impressions I thought the phone was going to be smaller than the big box, turns out it was the size of the box.
    I know there isn’t anything out of the ordinary to expect in an unboxing, and so nothing unusual here. A Micro-USB Cable, a pair of ordinary Headphones and a SIM-Card ejector tool attached to the small manuals card. Weirdly, I have not received a wall charger, but I have so many of them laying around there is no problems and of course, the retail units will have one without a doubt.
    Design, Body and Display
    The device is a very good looking device despite its large size. I have used many devices over the past few months from iPhones, Galaxies, HTC Ones (Normal and Mini) and others and not a single one got the stares and questions asked as the Lenovo K900. It does have a personality and it is eye catching.
    To start things off, lets talk about the front (Apologies for the low quality pictures) From the top sits a small cut out for the speaker and to the left the front facing camera. The sensors are nearly impossible to notice, perfect integration that is. Lenovo branding in the center and then the huge screen all the way till the bottom where three Android buttons sit, Back, Home and Options/Settings.
    Flipping the phone to the back is where things start to get an even more premium look. Up top sits the 13MP camera, Dual-Flash and the secondary noise cancelling microphone, then comes what appears to be a back cover, but it isn’t removable. It’s in stainless steel brushed with 4 corner screws to make it look somewhat industrial? I think it has a nice touch. There is an engraved Lenovo logo towards the top and below sits the Intel logo. Finally towards the bottom sits the loud speaker.
    For all of you wondering about the stainless steel durability with us, yes the sides do scratch up a bit. I could recommend trying to find a case but I just think it looks so good without one. Also, not too sure you can find a case that easily as well.
    They kept the design clean, which means there is nothing to the top of the device. I think with a device this big, anything on the top would be suicidal because it would drop functionality dramatically. Fortunately, the 3.5mm headphone jack, Micro-USB port and primary microphone are on the bottom with nothing on the top. Thanks Lenovo.
    The volume buttons are found to the left of the device, but as one button. To the right side sits the lock/power button and towards the middle, the SIM-Card tray. Please be gentle with the tray if you get one, because as with my past experiences with metal trays, if this bends just a tiny bit, it will ruin the look and the flatness will never return again. Either way, pretty straight forward and all buttons feel metallic while the lock/power button have a little pattern on them.
    The feedback on the buttons are good but the lock/power button is slightly too soft, which may click on while holding the device in one’s hand.
    So yes, the size… Here is the K900 beside the Nokia Lumia 925 and HTC One Mini.
    The Nokia has a 4.5 Inch screen while the HTC has a 4.3 inch one, clearly being 5.5 makes it huge, plus the device is actually quite tall.
    The device feels really nice in the hands, but it does need a lot of getting used to being a phone of this size. It does slightly stick out of my jeans pocket. I have almost dropped it a few times because I am not used to using such a big device. Certainly if people are used to 5+ inch devices this might not seem too big, but I have never gone over 5 in my pockets before. It is a big device, that I started to get used to after about a week or two of use. I started to carry it differently, more towards a small notepad than a normal smartphone. I got used to it eventually! The metal back does get cold quickly especially in air conditioned areas so picking the phone up does feel special.
    As for the screen, it is absolutely brilliant. The clarity is amazing, the brightness can go up to levels that could be uncomfortable (but means brilliant in the sun). The only downside to the brightness is in the OS side as it can only be set at 30%, 60% and 100%, I would have preferred a slider but I am just being picky. Being 400PPI no pixels can be seen and the color representation is just brilliant, one of the best screens I have used in a smartphone, should be thankful to the IPS technology then. This is possibly the most inviting smartphone I have ever had in terms of wanting to watch videos on it, and I often just load videos from the laptop to the device to watch it there instead.
    Memory and Data
    This is where things complicated, and a bit unusual. Essentially the device comes with 16 GB of internal storage, which supposedly nearly 10 GB is free to the user, but what makes no sense is how it is managed..
    The device states that internal storage is 4.68 GB out of which I have nearly 600 MB free, and the USB storage is 9.77GB. On the bottom is the option to erase the SD card. There is no SD card. At first glance, it seems that the device has 5 GB of internal memory and like 10 GB of a separate internal memory, but this is actually a security thing that Lenovo has implemented, they have partitioned the drive so the system’s section of the storage remains untouched. Connecting the device to the computer, or accessing the built in file manager only displays the 9.77 GB partition.
    Sadly, as I have often stated, getting 16 GB of storage on a smartphone today is a low amount of storage, especially considering only nearly 10GB is only ever free with no external memory card slot option. Being on Android, every single cloud storage platform has an app, but Lenovo do not provide any free cloud storage on any service.
    As with typical modern day Android device (The K900 was launched in January in some markets) it comes with 2GB of RAM. With normal use, I average around 700-900 MB of free RAM. So the system seems to be managing its RAM fairly decently, and I have never experienced any memory issues in my use.
    Camera
    The K900 comes with a 13 MP camera with every option one could need on a smartphone.
    I wanted to really show the settings and viewfinder, but the K900′s screen shot utility is limited to only areas where the notification center is accessible, and all attempts to get a decent screen shot app without rooting failed miserably (before I forget, rooting this device is not an easy task, near impossible to find sources online)
    On the bottom left of the screen is where the main settings live and it has three main sections. The Basic section includes toggles for switching between cameras, flash settings, resolution, scenes (normal, low light, motion, etc), adjustments (brightness, contrast, etc), image quality settings and guide lines. The Advanced section covers the ISO, white balance, stroscopic settings and a toggle to enable or disable image capture by touching the screen. The last section is the other settings where the user can control GPS tagging, sounds, animation, focus modes and a reset tool.
    On the left of the screen there are two quick toggles for the flash and switching to the front camera. towards the right there is even more settings! on the top there is a small tool to display the selected settings in tiny icons and a arrow button to set the camera modes (HDR, low light, smile detection, macro, timed photos, burst shot, panorama, and night portrait mode.
    To the bottom of that.. is even MORE settings! well okay, not settings but there is a button that opens a whole table of effects for the photography, there is about 24 different effects to play with. To the far right sits the buttons to switch to video mode, capture an image and a thumbnail of the last photo taken.
    Here are some sample pictures taken with the K900 in various real world situations.
    A nice, decent lit Macro soft of the Blackberry Q5 (Review of the Q5 can be found here)
    Low light shot of the HTC One Mini (Review of the One Mini can be found here)
    A shot with decent lighting of a new packaged headset, lit well but notice how the device itself is over exposed.
    Decent interior lighting, the text is fairly clear at zoom, the disclaimer line is blurred though. 
    Outdoor shot in daylight
    Indoor shot with decent lighting of a portrait (best focus and lighting on the picture).
    The quality is really good, one of the best cameras I have come across in smartphones. The best? No, but very close I have to admit.
    So is it all perfect? Almost. Although there is a nice hidden feature where pressing the volume down and capture button on the screen will activate burst mode without having to go through the settings, the zooming is bad. Not the zooming itself, but the on screen controls for zooming. Tapping the screen will bring the 4x zoom bar, and it is really thin and 9 times out of 10 trying to zoom in or out, it will focus on that spot on the view finger rather than lower/increase the zoom, its very hard to zoom effectively and the volume keys don’t adjust the zoom which I think is a waste of the keys but in essence of taking pictures, it does a very good job.

    Operating System
    The K900 runs on Android version 4.2.1 with Lenovo’s own UI. It is a very interesting looking system, with tons of customizable features. No, I mean seriously, tons. Almost every single aspect of the experience can be changed, from the icon sets, size of the icons, backgrounds of the icons, special effects, tens of page transitions for the home page and various transitions for the apps page, automatic clean up (where inactive apps can be automatically removed), desktop layout backup, tens of built in apps, with up to 9 desktops!
    And I wish that was it.. there is a lot more to this OS that I thought, Lenovo did a great job.
    Let me start things off at the home screen and this essentially gives you an idea of how the operating system looks like. Pressing the menu button brings up the list of options (most of which are mentioned above) but this gives an almost unlimited amount of customization. Tapping and holding on an empty spot brings up the tools for transitions (known as effects), and the options to add apps, shortcuts, widgets and more! Lenovo’s power app has its own widget as well, which shows estimated time before battery runs out and quick toggles.
    Although most of our smartphone use doesn’t include phone calls or sms somehow, it is the base of a phone. Lenovo has done a great job here with their all in one approach. Call log, messages and contacts are all under one section. They have done it in a smart way where the dialler is on top of the log instead of two pages, certainly is more productive. The messages have a very interesting look to them, which I thought looked nice. Moving all the way into info center brings up a set of settings including a way to backup and restore contacts. It may not be a big deal to many but i think this all in one spot is a nice touch.
    The took the extra step in small touches, for instance when you call someone, the phone will vibrate the second the receiver picks up, not sure if any other manufacturer has that or not (never paid attention to it) but it is really cool especially in noisy situations.
    Before I go on, Lenovo has done something to this phone that evokes a sense of professional use or focus that has driven the development of the user interface, in my opinion.
    The applications list/page is a typical experience, but Lenovo has put their own touch. The device comes with built-in applications such as Flashlight, a whole array of google apps, file manager, evernote, uc browser, skype and a few others. The transitions are various as well, and can be set to flip as a cylinder, apps snake through each other and others.
    The device does stutter and lag a bit sometimes, but the general transitions are always smooth. I guess this always goes back to the optimization aspect, because the device is certainly more than capable, hardware-wise.
    The notification center is the typical Android 4.2.1 with a strip of quick toggles and the whole list is just a tap away. Activating Lenovo’s power app also adds a little information strip for the battery life and active functions. Two finger swipe down brings out the whole short-cut list.
    Another important aspect of the device (being the most used feature) is the keyboard. The keyboard is nice, smooth and easy to type on, no troubles there but there are a few loose ends. One of which, is the feedback vibrations. Initially it would vibrate when tapping and then suddenly it would stop vibrating for no apparent reason.
    In SMS mode, the enter button only appears when the keyboard is in Capital mode. Surely, these aren’t concerns but with an attempt to be so refined, they could have entirely eliminated keyboard issues. The numbers and symbols are a tap and hold away although I wish they applied more symbols in the same way throughout the keyboard.
    The settings menu is a whole operating system on its own! Under common settings the user will find the typical essential settings of the phone. Under Feature Settings is where things start to get interesting. The Lenovo K900 has many smart sensory features like engaging maximum volume when it detects its in a pocket, decreasing of volume when device is picked up while ringing, enabling the volume keys to turn the screen on, shake to lock the device and knock to turn the screen on.
    Do these really work? They all do but not without fault. The shake to lock the phone comes in handy because the device is huge and if it is being held one handed, it would eliminate the need to go up to press the button. The problem with this is, it would lock when moving around the device. In regards to the knock to unlock, it works by sudden movement rather than tapping/knocking the screen, which in my use, meant the screen came on when I would move about or place the phone on a table or anything solid. The rest worked fine. Cool features just need to be optimized perhaps.
    Under All Settings, the device can be almost completely be adjusted to liking from communications, application and account settings, device storage and running applications and finally system settings and all these can be seen above.
    In typical Lenovo way, everything built in has its own Lenovo touch. The file manager is quite smart! It allows traditional folder access, search, history, etc and also an automatic access of files based on their categories.
    Lenovo has done a very good job with their own Android UI. There are various applications built in, a lot of customizable options to keep things individual and all transitions and UI related functions run flawlessly. The processor I believe is the only source of things being out of hand. It runs up to 2.0Ghz, with no mention of what it’s general speed is and due to that, there are times when there would be stutters and lags. When the processor is running on full speed, everything is super smooth but I cannot deny when it is not.
    Applications on the K900 run absolutely smooth being in full 1080p. I have not experienced any applications having any issues what so ever, but what did have negative experiences was some games. The general non-resource hungry games always work, but games like Real Racing 3 were really out of order. It would stutter and eventually crash. I even downloaded Asphalt 8 (just out by the way, nice game, I somehow prefer 7 till now) and although it didn’t crash, it would lag! I tried it earlier today and it ran for much longer than the last time, then lagged.
    Again I believe this must be due to the processor’s optimization and Lenovo’s focus on professional use I guess. Without a doubt it isn’t a slow or weak device, just lacks a little.
    The imaging on the K900 is called SuperCamera and the image viewer is called SuperGallery. The self-claimed Super Gallery is quite feature-full and it allows creation of combined images and GIFs. It also is capable of providing the complete details of an image (such as size, resolution, device used for capture, etc)
    Multitasking is taken care off in the typical Android way, but for some reason, there is no button to clear all open applications and being that there is no limit to open apps in the list, it can get a bit annoying swiping away all the open applications to clear it.
    Aside from those few criticisms, with the huge and beautiful screen on the K900, and good performance (especially when its running at maximum juice) it is a very solid device in regards to the operating system.
    Performance
    There is no doubt in my mind that this is a powerful device, because it really is but with the processor feeling not entirely optimized, there is slight sluggishness while operating the device. Is it evident enough and noticeable? Slightly. There are times when I unlocked the device and the home page is still loading its widget, or swipe to another page and the icons pop up but weren’t already ready.
    Switching between applications and running applications is really smooth, the processor really does handle it well, but I wish the processor ran on 2.0 Ghz the whole time because I feel when it is idle or nor running at maximum performance is when it gets sluggish. I have tried several attempts to really work up the processor and then try the general OS transitions and everything was perfectly smooth. I feel the Intel processor isn’t the best for Android or at least isn’t optimized well enough.
    In typical, simple, basic ihabstech fashion, here is the quick fish tank test, which gives a rough idea of how good the device’s graphics and processor can be.
    (running at 980×440 resolution)
    With 100 fish, it held 18-21 FPS
    With 250 fish, it held 11-13 FPS
    With 500 fish, it held 9-11 FPS
    Keeping in mind the HTC One had a 1.7 GHZ Quad Core Snapdragon processor, it had about an average of 1-3 FPS less, the Lenovo K900 is a performer!
    To try it out the Fishtank Test for yourself, you can visit this link, and I think I shall be using this with future device reviews too.
    Battery
    The battery of the K900 is an interesting topic. Before getting into my experiences, the Lenovo Power application that integrates into the OS, is pretty cool.
    This is the essential app, where there are quick toggles for the system tools and an estimated time, in the best case scenario, till the battery would die. There are also several battery modes and a custom mode with estimated battery life for each.
    The following are two sample battery life tests I have experienced.
    In first test, I managed to pull out 12 hours of battery life with nearly 6 hours of standby time.
    While this second attempted pulled out 16 and a half hours of battery life with roughly 8 hours of standby time.
    The shocker is that I have once managed to drain the battery in less than 6 hours of use. What this essentially tells me is that the battery life of the 2500mAh sized battery in the K900 is very variable to the users use of the device. I am sure if I had set things up rather than running at max, I could get a whole day’s use. I recommend anyone who buys this device to play and test a lot with the battery application and find the best of both worlds, battery life and active functions. It essentially has a decent battery, even though I have no idea how they fit that battery in there.
    Wrap up
    The Lenovo K900 has been a delight. Yes, the device does need polishing up in various aspects, but that does not take away the fact that this device is solid, right now.
    The build of the device is phenomenal, the blend of stainless and full glass front is just a beauty and the device doesn’t even think of creaking. The camera is really powerful, full of features, and speaking of features the system really feature-full and is speedy, efficient and very smart. Sure, it does have a few loose ends in terms of battery management, operating system and processor optimization but for professional and ordinary use of the device, it runs near perfect.
    I am sure Lenovo are already working on the next generation of models, including a new flagship, and if this is how they handled things early 2013, I can just imagine they would do really well in the smartphone market!
    Device Pros and Cons
    Pros:
    - Brilliant build quality
    - Slim profile
    - High resolution camera with good imaging features
    - Excellent Full HD 1080p IPS screen
    - Lenovo’s UI has well optimized applications and a lot of customization
    Cons:
    - Hardware isn’t fully optimized for software (some apps don’t run smoothly)
    - OS is sluggish at times and transitions aren’t always smooth
    - Device is very big for most people
    - Questionable battery life
    - Not all gestures work well in real world use
    - Limited storage
    Thanks for reading and please do leave your comments, thoughts and questions below

  • Joining tables : Smart Access Connection

    Here's my scenario...
    I have data from 1 system existing as standard HANA tables.
    I have data from a second system, coming into HANA as a Smart Access Connection.
    My task is to build queries against each system's tables to obtain relevant data from each system, and then a top level query to join system A data to system B data.
    I'm from a SQL Server background, so my natural instinct is to NOT to join tables from linked servers directly to 'local' tables.
    I would normally query the remote source, stage the required data into a local temporary table, and then join local-to-local.
    However, I am unsure as to the best approach in this new world of HANA.
    I did some reading here : SAP HANA Smart Data Access - Using the SAP HANA Database - SAP Library
    "SAP HANA Smart Data Access optimizes execution of queries by moving processing as far as possible to the database connected via SAP HANA Smart Data Access. The SQL queries then work in SAP HANA on virtual tables. The SAP HANA Query Processor optimizes the queries and executes the relevant part in the connected database, returns the result to SAP HANA and completes the operation"
    .. but this is still a bit vague to me, and I am not sure that it was intended to be read in relation to simply querying the remote connection in isolation, or in queries involving other sources as well.
    Would anyone be able to clarify, or point me to better suited reading material ?
    many thanks for any pointers on this ....

    Not possible within SQL Dev.
    It pains me to suggest this.. but the simplest thing to do is to use an external table in Access to link to Oracle and make your joins in Access. I used to do it all the time and access is fairly good at only grabbing what is necessary from oracle. The only other product that comes to mind that does this type of operation is crystal reports.

  • Virtualbox and a custom kernel

    Virtualbox works fine with Arch's default kernel, but not with my custom kernel, although it used to.  I haven't used it in a month or two, and have done updates since then.  The custom kernel I'm using on all three machines I'll be talking about is vanilla 3.0.3 + tuxonice.  "Mercury" and "Aesculapius" both had their kernels built with a slightly modified config from "Posidon".  At some point in time, VBox has worked on all of them.  It is currently broken on Posidon and Aesculapius but works on Mercury.  Aesculapius is up to date as of yesterday (April 28th).  Posidon was last updated April 20th.  Mercury was last updated March 28th.
    - It's not (just) the kernel version.  I've tried vanilla 3.3.3 with the same config on Aesculapius.  VBox was still broken. (VBox worked with Arch's linux 3.3.3 on Aesculapius.)
    - It's not (just) the config.  Mercury (on which VBox works) has its kernel built from the same config as Posidon (with the processor optimization changed from Intel Dual Core to Intel Atom and a module for an Atheros wireless card and the built-in webcam added.  ca0106 is removed and intel-hda is added.)  Aesculapius was built from the same config as Posidon (with processor optimization changed from Intel Dual Core to Intel Pentium 4, ca0106 removed and emu101k(?) added, with a few other modules for USB webcams added.)
    - I have virtualbox-source installed on all three machines, and the modules were built with no complaint with /usr/bin/vboxbuild since the last updates of any package.
    - I have vboxdrv, vboxnetadp, and vboxnetflt modules loaded when attempting to start VMs.
    "Broken" means:
    - When starting a VM in VBox, a progress bar appears, "Starting virtual machine ..." and hangs at 0%.  Soon a second progress bar appears, "Starting virtual machine ... (2/2)" and hangs at 20%.  I cannot close the VM window except by killing all instances of VirtualBox, VBoxSVC, and VBoxXPCOMIPCD .
    - dmesg contains this:
    [ 4639.150180] warning: `VirtualBox' uses 32-bit capabilities (legacy support in use)
    [ 4645.606088] BUG: unable to handle kernel paging request at 19330825
    [ 4645.606094] IP: [<f8b7cad9>] VBoxHost_RTR0MemObjGetPagePhysAddr+0x13/0x67 [vboxdrv]
    [ 4645.606106] *pde = 00000000
    [ 4645.606108] Oops: 0000 [#1] PREEMPT SMP
    [ 4645.606112] Modules linked in: fuse lgdt330x cx88_dvb videobuf_dvb cx88_vp3054_i2c nvidia(P) tuner_simple tuner_types tda9887 tda8290 snd_ca0106 snd_ac97_codec tuner cx8800 cx8802 cx88_alsa cx88
    xx tveeprom btcx_risc videobuf_dma_sg videobuf_core i2c_algo_bit ac97_bus snd_rawmidi e1000e vboxnetflt vboxnetadp vboxdrv
    [ 4645.606131]
    [ 4645.606134] Pid: 2481, comm: VirtualBox Tainted: P 3.0.3-toi #5 MapleTronic D975XBX2/D975XBX2
    [ 4645.606139] EIP: 0060:[<f8b7cad9>] EFLAGS: 00210212 CPU: 1
    [ 4645.606145] EIP is at VBoxHost_RTR0MemObjGetPagePhysAddr+0x13/0x67 [vboxdrv]
    [ 4645.606148] EAX: 00000001 EBX: f5142010 ECX: 19330825 EDX: 19331825
    [ 4645.606150] ESI: f8848000 EDI: f5133c10 EBP: e649ddcc ESP: e649dd60
    [ 4645.606152] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
    [ 4645.606155] Process VirtualBox (pid: 2481, ti=e649c000 task=f517ce60 task.ti=e649c000)
    [ 4645.606157] Stack:
    [ 4645.606158] f8c673d8 f49d5110 00000000 00000000 f8cd585c f5142054 eda1b814 f
    5a8a270
    [ 4645.606164] e67bf480 00000085 0001f50a 0001f50a f514204c f5142054 00025000 00025000
    [ 4645.606170] 00000025 f8822000 00000000 000009a0 f517ce60 00200246 00200246 000003b1
    [ 4645.606176] Call Trace:
    [ 4645.606185] [<c109f394>] ? __free_one_page+0xe4/0x1ba
    [ 4645.606191] [<c10a888e>] ? zone_page_state_add+0x12/0x1f
    [ 4645.606195] [<c109f510>] ? free_pcppages_bulk+0xa6/0xb6
    [ 4645.606201] [<c119e2db>] ? avc_has_perm_noaudit+0x2d0/0x2da
    [ 4645.606208] [<f8b7a177>] ? supdrvIOCtl+0x10a7/0x1fee [vboxdrv]
    [ 4645.606216] [<f8b7d4c3>] ? rtR0MemAllocEx+0x4a/0x9d [vboxdrv]
    [ 4645.606222] [<f8b7624f>] ? VBoxDrvLinuxIOCtl_4_1_12+0xea/0x16b [vboxdrv]
    [ 4645.606228] [<f8b76165>] ? SUPR0Printf+0x42/0x42 [vboxdrv]
    [ 4645.606232] [<c10cfa49>] ? do_vfs_ioctl+0x42d/0x463
    [ 4645.606235] [<c10cfac3>] ? sys_ioctl+0x44/0x65
    [ 4645.606239] [<c13c214c>] ? sysenter_do_call+0x12/0x22
    [ 4645.606241] Code: 8d 34 8d fc ff ff ff 89 4c 24 04 e9 5c ff ff ff 83 c4 08 5b 5e 5f 5d c3 8b 0f 8b 47 04 8d 91 00 10 00 00 81 fa ff 1f 00 00 76 45
    [ 4645.606261] 39 10 12 61 19 75 3d 55 89 e5 57 53 8b 51 08 8d 5a ff 83 fb
    [ 4645.606271] EIP: [<f8b7cad9>] VBoxHost_RTR0MemObjGetPagePhysAddr+0x13/0x67 [vboxdrv] SS:ESP 0068:e649dd60
    [ 4645.606279] CR2: 0000000019330825
    [ 4645.606282] ---[ end trace 41ed8e68e0cd1714 ]---
    - The vboxdrv module cannot be unloaded until after a reboot.
    - Hibernation (tuxonice) fails back to X.
    - Shutdown freezes some time after X is stopped.  I see no messages in the console other than those left over from start up.
    Here are the packages (and versions) installed on Mercury (VBox works) (pastebinned to cut post length): http://bpaste.net/show/28064/
    and for Posidon (VBox is broken): http://bpaste.net/show/28063/
    and for your convenience, the diff -u: http://bpaste.net/show/28065/
    What package(s) is/are causing the problem?  I've already tried downgrading linux-api-headers and glibc to no effect.  Alternately, what options should I change on my custom kernels?  I can post some kernel configs if that would be helpful.
    Last edited by onexused (2012-04-29 19:31:23)

    I got the same problem with custom kernel-netbook, vboxdrv  is freshly built and loaded, but I got two progress bars, one at 0%  other at 20% and zombie unclosable window of hanged VM. Searching for solution...
    Got it! Kernel was compiled with GCC 4.6, while modules with GCC 4.7.
    Last edited by randomize46 (2012-06-01 08:04:06)

  • The query processor ran out of stack space during query optimization. Please simplify the query

    Can you suggest me that what should i do in this case.
    Actually i am having one table that is a MasterTable.I am referring this table in more than 300 tables that means i am having foreign key of this primary key in 300+ tables.
    due to this i am getting following error during deleting any row,
    doesn't matter that data is existing in reference table or not.
    Error that i am getting is 
    "The query processor ran out of stack space during query optimization. Please simplify the query"
    Can you suggest me that what should i do to avoid this error,because i am unable to delete this entry.
    Apart from it,i am getting performance problem too,so is it due to such huge FK on it.
    Please suggest me on following points
    1. Is it worst way to handle it,if yes then please suggest me solution for it.
    2. If it is a correct way then what should i do if getting error during deleting any record.
    3. Is it right to create Foreign key on each table where i am saving data of this master. if no then how to manage integrity.
    4. What people do in huge database when they wants to create foreign key for any primary key.
    5. Can you suggest me that how DBA's are handling this in big database,where they are having huge no. of tables.

    The most common reason of getting such error is having more than 253 foreign key constraints on a table. 
    The max limit is documented here:
    http://msdn.microsoft.com/en-us/library/ms143432(SQL.90).aspx 
    Although a table can contain an unlimited number of FOREIGN KEY constraints, the recommended maximum is 253. Depending on the hardware configuration hosting SQL Server, specifying additional foreign key constraints may be expensive for the query
    optimizer to process. If you are on 32 bit, then you might want to move to 64 bit to get little bigger stack space but eventually having 300 FK is not something which would work in long run.
    Balmukund Lakhani | Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
    This posting is provided "AS IS" with no warranties, and confers no rights.
    My Blog |
    Team Blog | @Twitter
    Author: SQL Server 2012 AlwaysOn -
    Paperback, Kindle

  • How well does labVIEW optimize itself to run on dual processors? (would be dual Xeon cpus without hyperthreading)

    I am looking to get a new computer to run my labVIEW app. It is a processor intensive data analysis / simulation program. I am curious as to how well labVIEW optimizes its code to run on dual processor machines? Will I have to add some thread control code
    to get the full benefit?

    Hallo,
    Normally just splitting your code into two parallel-executed loops would be enough for optimization for dual processor. If you have already available dual-processor computer, then try to make simple experiment: Put on your block diagram while-loop (without delay), then run it and looking for CPU usage. You will see, that only one processor occupied with 100% and second not (average CPU usage is 50%). Now put second while-loop (also without delay). Now both processors are busy with 100% (but both loops executed with approximately same speed). In most cases "two-loops" splitting of your analysing algorithm will be enough for increasing performance (not twice, of course, but significally).

  • Multi Processor rendering & editing optimization

    Hello,
    Got some great info here from my last post!  So thanx
    So my question is...is it more ideal to use Xeon or multi processor board setups than single CPU chips?  My main aim is for rendering or workflow turnaround since in the next couple of months I might land a nice spot in the top five post companies in my sector...god willing.
    Therefore I plan to build a completely new system either focused on Multi CPU or buying multi crossfire Open CL rendering GPU cards.  I can't find any documentation or recommendations for improved performances in rendering speeds or realtime fx with a Multi CPU board or the NOW added multi Stream or CUDA GPU (SLI or CrossFire) rendering setups. 
    if anybody could explain any myths or facts as to how Premiere Pro takes advantage of CPUs or GPUs would be a big help.  I'm currently using a Quadro 2000 and an i7-990x with 24gb of memory.
    thnx

    Is your quaddro connected to a 10 bit monitor?
    If not, you would be better served by a faster GTX card
    Best Video Card http://forums.adobe.com/thread/1238382
    Also, view the results of the CS5 Benchmark http://ppbm5.com/ to see what is fast

  • Optimization for quad core processor

    HI.. i want to know if there is a flag to allow gcc to use 100% of the cpu.. I've got a intel quad core but i noticed that when gcc start to compile mi cpu utilization graph is well behind 50% threshold..
    Thanks

    Runni gcc with for threads.. It was a dummy question ? Next time i'll try to search a little bit deeper
    Thanks

  • Macbook Pro with Intel Core 2 Duo says it has a 32 bit processor

    I have a Macbook Pro with a 2.53 GHz Intel Core 2 Duo, Model Identifier MacBookPro5,4 with a NVIDIA GeForce 9400M and it seems to me its a 32 bit processor when I read all Core 2 Duos are 64. I just want to make sure I'm reading this right.  Below are the specs.
      Chipset Model:    NVIDIA GeForce 9400M
      Type:    GPU
      Bus:    PCI
      VRAM (Total):    256 MB
      Vendor:    NVIDIA (0x10de)
      Device ID:    0x0863
      Revision ID:    0x00b1
      ROM Revision:    3448
      Displays:
    Color LCD:
      Resolution:    1440 x 900
    ***** Pixel Depth:    32-Bit Color (ARGB8888) ******
      Main Display:    Yes
      Mirror:    Off
      Online:    Yes
      Built-In:    Yes
    Display Connector:
      Status:    No Display Connected
    Thank you

    Agreed.   Core2Duo processors through early 2007 were a mix of 32/64 bit, which is why they couldn't always be addressed beyond 3GB of RAM.
    After then they were all 64 bit.   The graphics never increased above 32 bit, as that's all that is needed for millions of colors.  Optimizations for shade and three dimensional graphics came not from the bit of the card, but from the capacity of the graphics chip/card, measured in MB and GB.   Bit just describes the path width of the data stream.    The MB and GB of the chip/card describes the storage capacity itself.

  • Error export HD video on AMD processors

    I have a problem. There are several computers with different processors. I create a complex project, more than 3 video tracks with effects. if you export video with 720-576 no problem. but if the resolution is increased to above 720p and then rendering is not possible. if you include rendering with CUDA then everything is OK. without CUDA, on a single processor error. but this error only on AMD processors. Intel i7 processors, the error is not present. tested on different computers, different operating systems, on different processors AMD, still if the error if the project is very complex. I do not think that the CPU AMD FX- 8320 can not cope with such a task.
    I do not know English, I write through the translator, I think you'll understand.

      My FX- 8320 processor instruction set is x86, x86-64, MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, SSE4A, XOP, AES, AVX, FMA, FMA4 . even more than the intel, so that's not the point, or simply not supported in the premiere of instructions from AMD, even though they are the same. How can you refer to the developers that they added optimization for AMD?

  • Trying to optimize eSATA and internal disk configurations

    I'm trying to optimize the HD setup on my dual 2.5GHz G5 with 4.5GB RAM
    major considerations.
    - massive itunes library (260GB), and big iphoto lib (25GB) as well
    - lots of video editing in Final Cut with large capture files and many video exports
    - regular podcasting and other media creation with all my music and photos
    - need for regular COMPLETE backups
    - speed
    Here's the current setup. I have six disks as part of the system
    1. internal 160GB disk (maps simply to a MACHD volume)
    2. internal 250GB disk (maps simply to a COMMONS volume for Democracy player files, torrent downloads etc)
    then on my 4-port eSATA controller card
    4x 500GB SATA drives from Western Digital for a total of 2TB eSATA disk space
    they are in 2 eSATA enclosures from FirmTek
    I'm managing the disks with SoftRAID
    Before I get into the problem, how would YOU use this incredible amount of disk space, considering the goals I have? (video, media storage, backup).
    Now, The problem
    I've been disappointed with the speed of my system and suspect its my HD configuration. I have enough RAM right!?
    I've got some raid stripes going on
    2 of the 500GB disks (disk2 and disk3) support two "active" volumes
    a) a striped ATLAS volume of 800GB (holds itunes, documents, iphoto, basically all media files)
    b) a striped VIDEO SCRATCH volumn of 200GB (for working files in FCP, imovie, etc)
    the other 2 of the 500GB disks (disk0 and disk1) support two "clone" volumes
    a) a mirror MACHDCLONE volume on both disk0 and disk1 (to protect the system drive. I run Super Duper 3x per week)
    b) a striped ATLAS_CLONE volume to backup the active ATLAS volume
    the COMMONS volume is not backed up in any way. figure i can live without my Democracy files and torrents, etc.
    My ideas:
    based on my performance observations, my setup above is just wrong, and I don't know where to turn for the best advice. Google is very poor at dealing with such complexity in search results. There are some video advice sites, but they only cover part of my problems. I have a few theories of how I should be using these drives
    1. use the eSATA drives strictly for performance benefits, not for backup. consider a USB2.0 drive for backups and use Mozy for offsite backup
    2. simplify the disk allocation. No single disk should support more than one volume
    3. the video scratch SHOULD be striped in order to benefit from speed. and should be on its own physical disk(s) separate from ANY other function
    So I'm thinking
    a) stripe two of the eSATAs into a single 1 TB array for my media or ATLAS volume
    - this solves me running out of space on the volume (getting closer with the iTunes video downloads every day)
    - it's also just physically easier to deal with. I can SEE what drives make up ATLAS alone
    - will be easier for me to eventually replace the G5 with an MBP running its own eSATA pc card with easy access to the same ATLAS volume
    this still leaves two 500GB eSATA disks around
    b1) I could extend the ATLAS volume to an array including a 3rd eSATA disk for a 1.5TB volume. this would allow me to bring COMMONS files onto ATLAS
    b2) the remaining 500GB eSATA disk can be video scratch
    OR
    c1) dedicate 1 500GB disk to VIDEO SCRATCH
    and
    c2) partition the other 500GB disk as a clone of both COMMONS and the internal System drive
    see how CONFUSING THIS IS ?
    there are too many permutations of things.
    I know I like keeping the system drive simple and internal. Ideally, the second internal disk would mirror this volume, but they do not match in size or brand
    part of me wants to stripe all FOUR eSATA drives into a blazing 2TB masterpiece, but it seems like a bad idea to put VIDEO SCRATCH on the same array as ATLAS
    Other questions:
    should the itunes library get it's own disk altogether? is striping of benefit here?
    are there some sites that explain HD management well?
    PowerMac G5 2.5GHz 4.5GB RAM   Mac OS X (10.4.9)   also own a blacbook

    Thanks so much for that awesome feedback.
    A few points.
    I have the dual processor G5, not the quad core. Purchased in Jan 2005.
    My RAM pageouts are fine (didn't know what that was until you mentioned it)
    Love the idea of moving COMMONS "outside the box"
    I used to have my system volume boot from an external RAID, but didn't notice a big improvement, and it meant my G5 would ONLY boot if the eSATAs were powered up. I just didn't like that feel. I want the tower to work in a self-contained fashion, even if I don't have access to all media. I want access to the OS and apps.
    I'm unlikely to buy more SATA controllers and enclosers or too many new disks. I'm on a serious budget and want to work with as much of what I have as possible. That said, i just checked out the Drobo and am drooling. I'll wait to see how well it performs for data access (and video) and not just storage.
    It sounds dreamy to stripe all four of the eSATAs into a 1.8TB storage megaplex. I imagine they would scream in an ATLAS_BADASS volume, but then I've got nothing left for VIDEO SCRATCH used to capture and render.
    The VIDEO_SCRATCH doesn't need to be large, and I think that's where I'm having a conflict. My eSATA drives are way too big to use even ONE as a video scratch, much less striping two of those bad boys just for that purpose
    Purchasing a 10K drive for video scratch (or system volume) is not really in the cards yet.
    So here's where I sit now:
    1. My Media Storage
    ++ the 4 eSATA drives (2.0TB raw)
    I go with the badass steroid injected ATLAS volume striped across all four.
    this is my media array and holds all the contents of ATLAS and COMMONS (iTunes, iPhoto, Documents, FCP training videos, ripped DVDs, the works)
    2. My System Volume
    ++ the 250GB internal SATA
    move COMMONS out
    migrate system volume to this disk
    better storage-to-free space ratio
    3. My Scratch Disk
    a) use the now-spare 160GB internal Maxtor (probably weak and slow)
    b) get an external FW800 RAID disk from OWC
    http://eshop.macsales.com/shop/firewire/hard-drives/EliteAL/StripedRAID
    I'd go with the 160GB or 320GB
    4. Backup Plan - level 1 - local
    ++ use my spare external Maxtor 250GB FW drive
    clone the system volume regularly
    ++ get an external FW drive (like the 1TB My Book Premium II from WD)
    clone ATLAS_BADASS regularly
    the WD is just $400
    i know it's capacity is lower than my super striped RAID, but i don't know of any cheap way to clone ATLAS_BADASS to a 1.5TB drive
    5. Backup Plan - level 2 - remote
    pay for a Mozy storage account which has unlimited capacity
    upload system and ATLAS_BADASS every few weeks
    any new thoughts? and thanks again!

  • Can't get past the licensing screen in Premier Element 10. I've had the program for 2 years with no problems at all. Suddenly the licensing window shows up and won't go away. AMD processor - ASUS MOBO - Win 7x64

    Out of the clear blue - the  Premier Elements Organize "Licensing Agreement" shows up on my screen. I click "Accept" - it goes away - and within 5 seconds pops up again. I can't get past it. I've used the program successfully for over 2 years. Anybody else having this problem? I use Win 7 x64, I have TONS of disk space (read over 570 GB free on "C Drive"). I have 12GB of DDR3 Memory. I'm using an AMD  6 Core processor with an ASUS mobo. All other programs work fine including several other Adobe programs.

    jazztrptman3
    Thanks for the follow up. Sorry the news is not better.
    Have you done a Tools/Error Checking for the Local Disk C?
    Then, maybe
    In your uninstall/reinstall troubleshooting, have you
    a. uninstalled using the usual Control Panel route
    b. did a ccleaner run through with its regular and registry cleaning parts
    CCleaner - PC Optimization and Cleaning - Free Download
    c. reinstall with antivirus and firewalls Off.
    I have been doing some searches....any chance you have a RAID configuration change in your computer environment?
    Can you right clicked the program desktop icon and select Run As Administrator? If so, please do so. Are you still running the program from a User Account with Administrative Privileges?
    You might want to take a look at some of my encounters with activating Premiere Elements and see if there is anything in that which applies to your situation.
    ATR Premiere Elements Troubleshooting: PE12: Premiere Elements 12 Editor Will Not Open
    Is your input that you can get paid technical advice from Adobe Tech? I am not sure if it offers (even for a fee) troubleshooting for earlier versions.
    Please update us on your progress when you get a chance.
    Thanks.
    ATR

  • Optimize Mac for Gaming with Bootcamp?

    Hi, I have a Mid 2012 MacBook Pro with Windows 7 installed using Bootcamp. Because I'm a student my parents aren't exactly thrilled with the idea of getting me a Gaming PC, but since I'm not a hardcore gamer I think I can make do with what I have. How would I be able to optimize my gaming experience with my Mac? In other words, whether it is with software, or upgrading some hardware, how can I make my Mac usable for gaming. And trust me, I'm not hoping for 60FPS having games on the highest setting kind of thing, something that is decent quality is all I want. I feel that my Mac's current specs and hardware is almost at where I want it, but some optimization to increase efficiency and performance would be really nice. Thanks in advance!

    you are stuck with whatever graphics it has which is usually the main resource.
    Did you buy with just base RAM? which processor? you can't change the cpu.
    http://www.everymac.com/systems/apple/macbook_pro/index-macbookpro.html
    RAM Upgrade Kits:
    http://eshop.macsales.com/shop/memory/Apple_MacBook_MacBook_Pro/Upgrade/DDR3_160 0MHz_SDRAM
    Some SSD tests http://www.barefeats.com/hard193.html
    https://www.maxupgrades.com/istore/index.cfm?fuseaction=product.display&product_ ID=437&ParentCat=367
    Windows can't be installed on an external drive but it can be cloned and booted off Thunderbolt interface.
    Boot Camp
    A PC with i7-4790 and 16GB + SSD (case, psu, copy of Windows) and X89 motherboard would of course give you freedom and not have to dual boot, plus you get to choose the GPU you need. Windows on Mac often run hot, hotter than they do already. And later you can upgrade just the parts you need to.

  • Long full GC pauses, 1.4.2_02, single processor

    HotSpot 1.4.2_02, Solaris 9, single processor
    We've developed a telecom application which requires low latency in response to network events. I've been observing fairly long full GC pauses between 0.5 and 2.0 seconds, which is unacceptable for our application. Minor GC pauses are quite brief, and acceptable, but only rarely occur after the system is up and running for some time. Full GCs happen regularly at 1 minute intervals.
    I've read several web articles on tuning GC, which mostly focus on using the new GC algorithms available in 1.4, such as CMS. I've tried -XX:+UseConcMarkSweepGC, but haven't observed any reduction in GC pause times, probably because our application runs on a single processor server.
    I'm going to dig into young/tenured ratios next, but, before I do, any advice on how best to optimize full GC for low latency on a single processor? I'm willing to do more frequent full GCs, and accept a throughput penalty, in exchange for <200ms full GC latency.

    Hi
    Any chance u using RMI? This regular 1 min interval thing is seldom seem. Please add -XX:+DisableExplicitGC, other flags include the setting the rmi gc time to a large value, but you are good with disabling System.gc
    Did u use the -XX:+UseParNewGC too? Usually -XX:+UseParNewGC -XX:+UseConcMarkSweepGC goes together.
    Also, _08 is the latest. There is a number of fixes that went in GC.
    Tuning... the steps i usually take
    1. Use default GC, -XX:+PrintGC -XX:+PrintGCDetails -XX:+PrintTenuringDistribution
    2. Size the generations 1st.
    3. Choose collector, in this case shld be "Usually -XX:+UseParNewGC -XX:+UseConcMarkSweepGC" but u may be good with others too. It depends.
    Hope this helps.

Maybe you are looking for