Multi-core optimization coding

Hey, so given that the Playbook is dual core, is it possible to optimize our code in order to use the double-hearts?

Or the system use one and apps to use another?
Or AIR does behind the scenes for us already?

Food for thought.

You will not be able to do much about it in the AIR, with maybe one exception.

AIR is single-threaded, basically, if you can't push all work in a background thread or the process that is running on a second nucleus, at least not directly.

The Pixel Bender stuff can automatically use a second if present core... not sure.  Useful limited for many but if it does it would be great for some.

(QNX) system makes full use of both hearts, is not only running apps on one of them.  It is unlikely enough that a developer could do better just let the system do what it was designed to do here.

With the native SDK and Java probably (someone confirm?), you would be able to operate the two hearts for your organization.

Tags: BlackBerry Developers

Similar Questions

  • I need to download and install KB896256 for multi-cores (AMD) after upgrading to SP3?

    I made a new build after my old PC has stagnated.

    The new PC using an AMD PhenomII X 4.

    After you install SP3, I read on XP Pro Optimization for multi-cores and discover KB896256.

    What I have to install KB896256 after SP3 to optimize XP for this multi-core processor?

    Thank you.

    No, not if SP3 and all post-SP3 updates have been installed successfully (in which case the fix would not yet installed).

  • How can I configure a program to run on only one heart of my multi-core computer?

    Hello

    I have a multiple basic computer, except a very processor that is only designed to run on one heart program (maybe you have heard of him; Dwarf Fortress. Otherwise, it is not really necessary, but good). Now I wonder, how can I set the program to run only on a single heart, whenever I start it? I have a shortcut on my desktop, so if it is not possible to change the parameters of the program or other stuff like in Windows itself, I don't have the ability to change the shortcut to make it work on a carrot.

    Hello Drake1500,

    Thank you for using the Microsoft Windows Vista Forums.

    Since given as each program/software is configured differently to work on mulit or transformation of a nucleus there is nothing that Vista can do to change that.  You need to change something in the formula of the show itself.  I enclose a link below which talks about this issue.  Please let me know if you have any other questions.

    http://msdn.Microsoft.com/en-us/magazine/cc163340.aspx
    Optimize Managed Code for Multi - Core Machines James Microsoft Support Engineer answers visit our Microsoft answers feedback Forum and let us know what you think.

  • The host VMware workstation and multi-core CPU

    Apologies if this has already been answered, but all my research to turn questions about processors how can specify in a virtual machine. It's not what I'm after here.

    I want to know is the use of VMware workstation (v6 and v7) is available on a multi-core worksation host physical cores.

    I have a scenario where we have several virtual machines containing sensitive coding environments. The material that they are on is a little old and we don't have the time or the knowledge to recreate systems (a combination of Matlab, DSpace and some custom coding). Our only option (and we did it for a couple with success so far) is to create virtual machines of these workstations.

    Which is absolutely essential for us is the material we choose VMs on host. Virtual machines will use simple/double/processors virtual.

    In order to choose the correct hardware platform, I need to know if VMware workstation is running an instance of the virtual computer within a single processor (in this case is the reduced performace?), or if there are multithreaded and make the most of the hardware it will run on.

    (We are not welcome, never more 2 virtual machines at the same time)

    Any suggestions on material would be appreciated also. I think of something based around a core of Xeon 4-6 with 12-16 GB of RAM.

    Thank you very much

    Nick

    Correct, for laboratory/debugging and interaction VM Workstation is pretty good.

  • NB100 - multi-core of BIOS settings & battery discharge while off

    Hello, I bought the N100-R there are several monts. The unit is very reliable, but when taking take a closer look at the settings of the bios a few days ago I noticed that the multi-core enabled, while the processor is a single-core. After turning off I found that the drive produces some frequent hickups so intense, that the cursor starts jumping.
    Overall performance seems to be less catchy with multi-core disabled.
    The logs say nothing about the problem of hard drive, so I made a recovery today including about 168 updates in a row (as a nice side effect the update manager seem to be able to find the files of package again, which was not the case for two weeks or more).
    My question is, why the multi-core is enabled on a machine simple heart?

    The biggest problem is the issue of discharge while the device is in standby mode or even turned off.
    Some entries to mention this issue recommending upgrades the core among others), and I wonder if Toshiba is about to face in the near future.
    Here, even once, I played with the settings of the bios and disabled option wake-up-on-lan, such as recommended, however nothing has changed.
    Thanks in advance.

    Although single-core CPU, I thought they were hyperthreading (with what looks like two hearts to the BONE). In this case I guess that this setting disables hyperthreading?

    168 updates? What is the first set of updates never applied? Sounds like a lot!

  • Tecra A9: Cannot enable or disable Multi Core processing in the BIOS

    I have a Tecra A9 and want to swicht out of the Multi Core Processing in the Bios, but it is impossible.

    To the old Bios version (1.50), it has been possible.

    Now I use the most recent (2.10) and I can't move the cursor to this selection.

    The special key strokes?

    If this isn't the case - where can I download the previous version of the bios where this selection is possible?

    Thank you

    Ulli

    Hello

    > Otherwise - where can I download the previous version of the bios where this selection is possible?
    This is not possible because it is always the newest available BIOS can be downloaded.

    With regard to the option in the BIOS.
    Do you mean you are not able to choose this option or you can't change the value?

    Toshiba BIOS:
    Usually the buttons PgUp / PdDn would change the BIOS page. The arrow buttons to select items. SPACE or BkSp can be used to change the values.

    But note; You can only change the value if it s interchangeable. But many options appear in the BIOS but is not editable.

  • LabVIEW 8.6.1 AMD Multi Core Crash with call loops

    Hi all

    I tried, but I couldn't find all the messages with my exact situation.  Here it goes:

    I have a multi-core AMD Phenom 64 processor and I'm running Windows 7 64 and I am running an application in LabVIEW 8.6.1 in compatibility mode.  (I know, not a good idea)  I have a pretty complex application with several timed loops and the different ways to talk to FieldPoint (FieldPoint 6.0.6 and experimentation with Modbus talk to cFP-180 x).  You may be wondering why I'm using call loops.  It is an application of RT which can also run on Windows using structures conditional disable, etc.

    I had met sporadic crashing earlier in my files executable for more than a year and used a lvalarms.dll in only patched version my executables.  It was on a totally different processor and we were running Vista at that time.  Now, I notice a very similar behavior on 8.6.1, except now the development environment all crashes or breaks down my executable compiled as well.

    I found this KB, but he was referring to problems observed on LabVIEW 8.5, and the utility of the OS is only for Windows XP.  As recommended in the KB, I used BCDEdit to set the flag onecpu and now everything seems to work normally.  My PC is now significantly slower, however, and I wonder if there is another workaround solution that I might be able to try.

    If you have read so far and who have followed my description you already have my gratitude.  If anyone else has experienced this?  Someone at - it ideas?

    Thank you very much

    Jim

    Alright.  In case someone else runs into this apparently dark scenario, here's workaround solutions I've found:

    1. see if the problem goes away by setting the processor affinity using the Task Manager. Open the Task Manager, look under the "Processes" tab and right-click on the process. (for example LabVIEW.exe or your executable)  Under the context menu which select "set affinity...". "and select only the CPU 0.  In my case, I have a quad-core processor, so I up to four logical processors that are displayed in the dialog box that results.

    Run your application code or the executable file for a while, and if everything seems to be stable, it would seem that you have isolated the problem successfully.

    2. one of the solutions is to disable additional logical processors for the entire operating system, although there may be negative implications on performance.  In this case, try the steps in the lower part of this KB.  I have Windows 7, so I used the utility of command-line bcdedit with no problems.

    3. Finally, a really interesting option that is well worked for me should automatically set the affinity of the processor for each individual process.  There is at least a utility available to achieve this.  I've now changed my LabVIEW 8.6 shortcut to call RunFirst, which sets the processor affinity for LabVIEW to automatically use the first logical processor.  This way I can still use my processor image for all it's worth except in applications that have problems with it.

    I hope this helps someone else out there one day.

    Jim

  • Problems of causing classic vista of gel-crash games or force him to leave Windows (vista 64, multi-core)

    I have problems running games on new computer (and some older) on vista 64-bit. Either the game starts to slow down and "jump" a bit, until she (usually) suddenly freezes (also sound), while single force-rotation - in the distance, the computer is the option. Another time a game just leaves for windows where a message arrives "is a problem and the program must be closed. Is this a classic vista problem? The computer is multi-core. Should I upgrade to Win7?

    Hi Mhusoy,

    Welcome to the Microsoft Answers site!

    You have installed the latest drivers for the graphics card?

    Is - what your computer crashes alone while you play games or of otherwise?

    You can if check if the games you try playing are compatible with Windows Vista or not. Follow the link and check the details.

    http://www.Microsoft.com/Windows/compatibility/Windows-Vista/default.aspx

    You try to install the games you play in Windows XP mode and check if you get the same question.

    Run the program compatibility Wizard

    1. Open the program compatibility Wizard by clicking the Start button, click Control Panel, clicking programs, and then clicking use an older with this version of Windows program.
    2. Follow the instructions in the wizard.

    If you are unable to install a program, insert the installation for the program and, using the wizard disk, navigate to the program setup file, usually called Setup.exe, Install.exe, or something similar. The wizard is not designed to work on programs that have an .msi file name extension.

    For more information follow the link below.

    Make older programs in this version of Windows

    Hope this information is useful.

    Amrita M

    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Multi-core CPU: this is an important factor?

    Hello

    I guess the CPU multi-core is probably important. But is there a rule or guidelines? I would be grateful any entry about the experience of the use of multi-core processors in a virtual machine (as a workstation or server) environment. In all the scenarios below, we assume that the memory sharp and e/s disk are satisfactory. I would like to isolate the factor of the CPU.

    Q1. A two CPU cores is equivalent to two physical CPU core?

    Q2. Number of vs. frequency of the processor cores: which is more important to run VM? Example: 2 hearts to hearts vs 4 3 GHz to 2.33 GHz

    Q3. How is the "engine" of the virtual machine using muti-core with regard to the number of virtual machines running? Is it true to say more "better cores?

    Example 1: host has 4 cores of CPU 1, 2 running virtual machines (what a waste of CPU resources?)

    Example2: host has 4 cores of the processor 1, 6 running virtual machines

    Q4. (Phenom2, Core 2, Xeon, i7) CPU architecture: the "engine" of the VM uses these CPU everything too, or is there someone who is particularly well suited for running virtual machines?

    Thanks in advance for any help.

    Q1 - Yes - ESX/ESXi treat each heart as a logical processor and plan virtual processors to these logical processors

    T2 - both are important - the vmkernel treats views CPU as a pool of cycles - 4 2.33 GHz is a pool of 9,32 GHz while 2 x 3 GHz is a pool of 6 GHz so as long as a virtual CPU has not a complete CPU - a virtual CPU can run on one heart at a time, so a 3 GHz core will be able to provide 3 GHz to a virtual computer

    Q3 - Yes more cores is better - the 'VM engine' called the vmkernel will plan the virtual machines between all hearts - VMware recommended 4 to 8 virtual processors per core according to load - so a single quad core cpu can support 16 to 32 virtual processors according to the load

    Q4 - he use them all as well - it will benefit from new technology of virtualization being in current technology chips.

    If you find this or any other answer useful please consider awarding points marking the answer correct or useful

  • PES 10 times Organizer and editor crash on multi-core hardware. set the processor affinity unique mode fixed

    As I pointed out in thread http://forums.Adobe.com/thread/941128 I found the editor and organizer for PES 10 crash in basic multi environment, I'm WIndows 64 bit, latest updates (including sp1), I had the same problems with Windows 7 32-bit.

    Workaround is to set the affinity to a single processor.  From the Task Manager, select the "processes" tab, find the exe (for example PhotoshopElementsOrganizer), right click, select "set affinity...". "and reduce the number of CPUS selected (checked) for a single.  (Under different versions of Windows specific means vary, but the basic steps are the same).  It doesn't matter what cpu choose you, but if you are the editor and organizer, put it on different processors.

    Pretty much everything these days being multi-core material, my hypothesis is that Adobe test in a virtualized environment and therefore do not discover this type of unreliabillity.  Adobe really need to test their software further exactly the same problem exists in PSE 6, is hardly new to them.

    The solution is in what precedes.

    If Adobe read this, they should take note that a virtualized environment does not provide a decent systems CPU multi-core fidelity emulation.  The ONLY way to test the reliability of an application is on REAL hardware.

  • Two-processor Multi Core processing Parrell Question

    Normal 0 false false false MicrosoftInternetExplorer4 / * Style Definitions * / table. MsoNormalTable {mso-style-name: "Table Normal" "; mso-knew-rowband-size: 0; mso-knew-colband-size: 0; mso-style - noshow:yes; mso-style-parent:" ";" mso-padding-alt: 0 cm 0 cm 5.4pt 5.4pt; mso-para-margin: 0 cm; mso-para-margin-bottom: .0001pt; mso-pagination: widow-orphan; do-size: 10.0pt; do-family: "Times New Roman"; mso-ansi-language: #0400; mso-fareast-language: #0400; mso-bidi-language: #0400 ;} "}

    Hey guys

    I'm looking for a little clarification on an issue with parrell treatment in LabView. If I have a dual processor with two 4 core CPU computer will be able to access all 8 cores in the LabView environment. I presume he can use carrots that can see the operating system?

    Thanks for the help,

    Tom

    Norbert B has written:

    It is the work of the operating system that applications may use all of the hearts, if necessary. So for the application itself, it should make no difference if the system (hardware) is MultiCPU, multicore, or even simply Hyperthreaded...

    Norbert

    It's true, but I would like to add my 5 cents here.

    Lets say, if you have a simple loop like

    While (true) {}

    do something

    }

    then OS will get a chance to run in multiple threads. So you get max 12.5% CPU load to 8 core PC or 50% max on dual core PC.

    I have dual core PC now and allows to check:

    Thus, as we can see - 50% CPU load reached (a single core charge more, but its a different story).

    Well, if we are going to use two while loops, then we will get 100% load:

    Of course, if you need to load all 8 cores, you should have 8 parallel loops.

    Compare BD above with the following:

    We have two functions of minmax table and they independently, but we have only 50%.

    Well, you can get also the 100% CPU utulization inside while loop. In th example below, you have two sub - VI, who called in the same loop:

    Here we have 100%. Important, these screws must be reenterant!

    See what happened if they reeenterant not:

    Now a little about the Vision. Most of the SubVIs Vision behind are DLL calls. Some features of Vision already optimized for the multicore performance. For example, the convolution:

    On the comic above, we have a simple loop with a Subvi, but two cores are used (convolute itself already optimized for the core multi car).

    Remember, not all functions of Vision optimized yet. For example, low-pass still single-threaded (compare this BD BD above):

    Of course, we can use multi hearts - just perform a parallel execution (you must split the image for both parties, and then to unite and so on):

    Remember, SubVIs must be reeentrant, and all calls DLL must be thred safe (not in the UI thread). Also good idea to stop debugging in such experiences to eliminate the additional CPU load.

    Another point on 8 cores. As far as I know, LabVIEW (and application on LabVIEW) will support only 4 cores within a default delivery system (at least before LabVIEW 2009). If you have need for all 8 cores, then you must add a few lines in LabVIEW.ini. See the thread next where you can find more details:

    Interpolate 1 d slow on computer 8 hearts

    Hope that everything written above was correct.

    Thanks for reading and best regards.

    Andrey.

  • What happens if there is multi-core or Dual-Core coupling processors to the top with Windows 7 Home Premium?

    So if I have a Windows7 Home Premium 64 - bit operating system and I use a processor dual core (Intel Dual Core e5300 CPU) are fully compatible or how they work together, given the fact that Windows 7 recognizes that one of the two processors? Playback of the system is expressed in the fact that it has two current processors. Both processors work simultaneously to form a combined data stream is a dormant or they turn on and off opposing to another so that each works half the time? Many scenarios as possible, but I would like to know... the real answer as to what needs to be changed eventually to bring together a system more fluid? My main question is the operating system and the processor may be an incompatibility problem that has not yet been addressed? I can't find any answer in the Center Compatabiity of Windows 7 or anywhere else. Or is the limitation of windows 7 Home Premium and only be able to support an unfounded processor see the fact that there are many systems that are in work today with these components. ?

    Hey Randy,

    If your system has two separate physical processors (not hearts) and you are running Windows 7 Home Premium, the second processor is completely ignored. It turns on and turn his fans, but it does not all rights for the computer. Windows 7 Home Premium will not take advantage of a single processor.

    However, if you have a single physical processor with multiple cores, Windows 7 64-bit will benefit from up to 256 cores. It is very probably the type of machine that you have because it is quite rare to have multiple processors co-location in a workstation computer.

    In this scenario, Windows will use two cores for separate tasks. Applications will be evenly distributed between the carrots, unless the application has been written to take advantage of multiple cores. The two hearts are turned on and both are used when the system is running.

    You can check if Windows has recognized the two hearts looking Manager of the tasks of your system:

    1. Open the Task Manager by right-clicking the taskbar, and then click Start Task Manager.
    2. Click the performance tab.

    The top two graphs show how much CPU is used, as well at the moment and for a few minutes. If the CPU usage history graph seems shared, your computer has multiple processors, a single dual-core CPU or both.

    Windows 7 system requirements also go in a little more detail on how many windows cores/processors can take in charge:

    http://Windows.Microsoft.com/systemrequirements

    Hope this helps to answer your question!

  • Rendering and Multi Core Machines

    I'm editing with PPCC2014 on an iMac that is a few years old.  I think there a processor dual core inside.  Everything works fine, but I'm looking for a way to shorten my render times.  To display a line of time of one hour, it may take up to two hours.  If I've upgraded to a machine with 12 hearts my render times would be significantly shorter?

    Yes.

  • Than a single core while coding

    SOUL seems to have slowed to a crawl today.  Follow at least twenty minutes to encode a sequence of four minutes in Windows Media, Quicktime or MPEG for DVD.

    Updated the driver for the Nvidia Quadro 6000 card this morning and restarted.  Go and look for updates when finished encoding Quicktime.

    Think I might need to back off Quadro driver?

    Reference Dell T7600, dual XEON, 32Gbs RAM, Quadro 6000 GPU.

    Thanks, rg

    Well, checked Quicktime and all updated.  Restarted again with a full power off, turned in addition to workstation Optimizer from Dell for first.

    Now we are rocking again. Near-real time to QT and MPEG encoding.

    "If in doubt, REBOOT!

    RG

  • Multi-core cpu support

    VCenter 4.0 U2 running.  We invited W2K3 and W2K8 Standard and Enterprise.  Confused about licensing and the use of CPU sockets. carrots and vCPUs.  Want to change a system file Windows feedback .vmx to allow more cores are available for some gustes.  For example, on a W2K8 R2 Std guest, we were able to establish 8 vCPUs via vCenter.  We would use more if possible.  Each socket has 12 cores.  Can we change the config of comments to use 12 instead of 8 vCPUs.  Is there a performance improvement if possible.  THX.

    Then vCPUs are the processor cores, and they directly affect the number of sockets in the Microsoft world.  4 vCPUs is 4 shots. 8 vCPUs is 8.

    By default.

    However, its possbile (easily) to adjust the way in which the VM views these nuclei.  By default, each = socket base, but with a simple change, you can consider them as a single socket with 8 cores (within the virtual machine).

Maybe you are looking for