How do I maximize performance?
I bought a new Mac Pro back in July (with Snow Leopard), with 7 GB of RAM. Later, I upped the memory with 16 GB of Kingston RAM. I also setup a 1 GB RAM drive, which I use whenever I can.
Using the Activity Monitor, and using the CPU Usage view, I have only found two programs which pushes this computer to its absolute limit: DAZ 3D's Bryce 7 Pro and Wondershare's DVD Ripper. These two peg the CPU Usage graph. Marcel Bresink's Hardware Monitor also shows that these two programs (Bryce and DVD Ripper) also push the CPUs to their thermal limit. My UPS backup system concurs: these two programs are requiring 100W+ more power than normal.
But all other apps do not use the CPU to its full power, not by a long shot. So my question is: Is this something I can change? In other words, make every program utilize the power of this computer to its full potential? If so, how?
Or is it the way the creator of that app wrote their software (in other words, it is beyond my control)?
Any ideas, advise, suggestions, insights, etc., into this matter is appreciated! I just want to maximize my "bang for the buck" for this computer system.
It is beyond yours, beyond just the OS, and is harder to implement a full multi-core/multi-threaded approach to the OS and applications. Putting a label and calling it something (like Grand Central) is just... a concept or idea/ideal that is more ellusive and harder to achieve.
Each new OS and each new compiler, and then the time to buy, implement, and learn to use and tweak, but whether any given task or process will gain from all that? games and programs still rule is: GHz rule. Which is why a single 6-core processor at 3.3 - 4.5GHz so it doesn't have to share data across a link, and runs at highest speed.
10.6.x fixed some problems with hyper-threading on the 2009 Mac Pro that was eating process cycles, pushing up core temps needlessly, by NOT letting cores and threads "sleep". It is and was caused by old rules and code and techniques that kept the processor working when it shouldn't. In the time it takes to lauch an app or open a document your hyper-threading processor can jump from 35*C to 65* or higher, and audio tasks, like iTunes but also others, were spiking core processor temps into 80s. Not good.
Running at 100% isn't always a sign of being efficient. In fact you might want to keep one core open and free for system messages for instance. And while hyperthreading can improve use of processor by 20-30% it comes at the cost of more heat and power, so while that 4-core has 8-thread capability, it is about like having a 5th core.
The 6-core 3.33GHz is and has been the "sweet spot" right now in Mac Pros being offered. Any 2010 model can be fitted with W3680 or 3690 (single socket) for $620. Dual requires higher priced X5680 parts that can run $3K and up.
Some made the 'mistake' of being more but slower processors in the hope of efficiency, or cheaper to add more RAM.
Your use of 1GB RAM disk isn't always efficient use. Sometimes though high density 8GB DIMMs are, and for graphic intensive work, 3 x 8GB is another "sweet spot."
Booting in 64-bit kernel mode is preferable as well, as long as all the drivers are 64-bit, as well as plug-ins (you see more every day from Adobe and others).
A good place to visit if you have not already:
http://www.macperformnaceguide.com
http://www.synopsys.com/Company/Publications/SynopsysInsight/Pages/Art3-Multicor ePA-IssQ1-11.aspx?cmp=Insight-I1-2011-Art3
http://hothardware.com/Tags/multicore.aspx
Similar Messages
-
How to improve the performance of adobe forms
Hi,
Please give me some suggestions as to how to improve the performance of adobe form?
Right now when I' am doing user events it is working fine for first 6 or 7 user events. From the next
one it is hanging.
I read about Wizard form design approach, how to use the same here.
Thanks,
AravindHi Otto,
The form is created using HCM forms and processes. I' am performing user events in the form.
User events will doa round trip, in which form data will be sent to backend SAP system. Processing will
happen on the ABAP side and result will appear on the form. First 6 or 7 user events works correctly,
the result is appearing on the form. Around 8 or 9th one, the wait symbol appears and the form is not
re-rendered. The form is of size 6 pages. The issue is not coming with form of size 1 page.
I was reading ways to improve performance during re-rendering given below.
http://www.adobe.com/devnet/livecycle/articles/DynamicInteractiveFormPerformance.pdf
It talks about wizard form design approach. But in SFP transaction, I am not seeing any kind of wizard.
Let me know if you need further details.
Thanks,
Aravind -
How to measure the performance of sql query?
Hi Experts,
How to measure the performance, efficiency and cpu cost of a sql query?
What are all the measures available for an sql query?
How to identify i am writing optimal query?
I am using Oracle 9i...
It ll be useful for me to write efficient query....
Thanks & Regardspsram wrote:
Hi Experts,
How to measure the performance, efficiency and cpu cost of a sql query?
What are all the measures available for an sql query?
How to identify i am writing optimal query?
I am using Oracle 9i... You might want to start with a feature of SQL*Plus: The AUTOTRACE (TRACEONLY) option which executes your statement, fetches all records (if there is something to fetch) and shows you some basic statistics information, which include the number of logical I/Os performed, number of sorts etc.
This gives you an indication of the effectiveness of your statement, so that can check how many logical I/Os (and physical reads) had to be performed.
Note however that there are more things to consider, as you've already mentioned: The CPU bit is not included in these statistics, and the work performed by SQL workareas (e.g. by hash joins) is also credited only very limited (number of sorts), but e.g. it doesn't cover any writes to temporary segments due to sort or hash operations spilling to disk etc.
You can use the following approach to get a deeper understanding of the operations performed by each row source:
alter session set statistics_level=all;
alter session set timed_statistics = true;
select /* findme */ ... <your query here>
SELECT
SUBSTR(LPAD(' ',DEPTH - 1)||OPERATION||' '||OBJECT_NAME,1,40) OPERATION,
OBJECT_NAME,
CARDINALITY,
LAST_OUTPUT_ROWS,
LAST_CR_BUFFER_GETS,
LAST_DISK_READS,
LAST_DISK_WRITES,
FROM V$SQL_PLAN_STATISTICS_ALL P,
(SELECT *
FROM (SELECT *
FROM V$SQL
WHERE SQL_TEXT LIKE '%findme%'
AND SQL_TEXT NOT LIKE '%V$SQL%'
AND PARSING_USER_ID = SYS_CONTEXT('USERENV','CURRENT_USERID')
ORDER BY LAST_LOAD_TIME DESC)
WHERE ROWNUM < 2) S
WHERE S.HASH_VALUE = P.HASH_VALUE
AND S.CHILD_NUMBER = P.CHILD_NUMBER
ORDER BY ID
/Check the V$SQL_PLAN_STATISTICS_ALL view for more statistics available. In 10g there is a convenient function DBMS_XPLAN.DISPLAY_CURSOR which can show this information with a single call, but in 9i you need to do it yourself.
Note that "statistics_level=all" adds a significant overhead to the processing, so use with care and only when required:
http://jonathanlewis.wordpress.com/2007/11/25/gather_plan_statistics/
http://jonathanlewis.wordpress.com/2007/04/26/heisenberg/
Regards,
Randolf
Oracle related stuff blog:
http://oracle-randolf.blogspot.com/
SQLTools++ for Oracle (Open source Oracle GUI for Windows):
http://www.sqltools-plusplus.org:7676/
http://sourceforge.net/projects/sqlt-pp/ -
How to write a perform in Sap Script
Hi Guys,
Can anyone let me know how to write a perform statement in Sap Script.
Thanks,
RameshI just took this example from SAP Help
=======================================
Syntax in a form window:
/: PERFORM <form> IN PROGRAM <prog>
/: USING &INVAR1&
/: USING &INVAR2&
/: CHANGING &OUTVAR1&
/: CHANGING &OUTVAR2&
/: ENDPERFORM
INVAR1 and INVAR2 are variable symbols and may be of any of the four SAPscript symbol types.
OUTVAR1 and OUTVAR2 are local text symbols and must therefore be character strings.
The ABAP subroutine called via the command line stated above must be defined in the ABAP report prog as follows:
FORM <form> TABLES IN_TAB STRUCTURE ITCSY
OUT_TAB STRUCTURE ITCSY.
ENDFORM. -
How do I maximize the battery life for my iPod touch?
Hi,
I am the proud new owner of an iPod 5th generation. My question is how can I maximize the batteries lifetime? Is there a certain percentage the battery should stay in between Should it be plugged in whenever possible, does that circumvent the battery and just keeps it alive until taken out, and then switches back to using the battery?
Anyway, any tips would be helpful. I already keep all features off that I don't need, such as bluetooth, messages, facetime etc.
Thanks, GreatAndRandomSee here for suggestions: http://www.apple.com/batteries/
-
How do I improve performance while doing pull, push and delete from Azure Storage Queue
Hi,
I am working on a distributed application with Azure Storage Queue for message queuing. queue will be used by multiple clients across the clock and thus it is expected that it would be heavily loaded most on the time in usage. business case is typical as in
it pulls message from queue, process the message then deletes the message from queue. this module also sends back a notification to user indicating process is complete. functions/modules work fine as in they meet the logical requirement. pretty typical queue
scenario.
Now, coming to the problem statement. since it is envisaged that the queue would be heavily loaded most of the time, I am pushing towards to speed up processing of the overall message lifetime. the faster I can clear messages, the better overall experience
it would be for everyone, system and users.
To improve on performance I did multiple cycles for performance profiling and then improving on the identified "HOT" path/function.
It all came down to a point where only the Azure Queue pull and delete are the only two most time consuming calls outside. I can further improve on pull, which i did by batch pulling 32 message at a time (which is the max message count i can pull from Azure
queue at once at the time of writing this question.), this returned me a favor as in by reducing processing time to a big margin. all good till this as well.
i am processing these messages in parallel so as to improve on overall performance.
pseudo code:
//AzureQueue Class is encapsulating calls to Azure Storage Queue.
//assume nothing fancy inside, vanila calls to queue for pull/push/delete
var batchMessages = AzureQueue.Pull(32); Parallel.ForEach(batchMessages, bMessage =>
//DoSomething does some background processing;
try{DoSomething(bMessage);}
catch()
//Log exception
AzureQueue.Delete(bMessage);
With this change now, profiling results show that up-to 90% of time is only taken by the Azure Message delete calls. As it is good to delete message as soon as processing is done, i remove it just after "DoSomething" is finished.
what i need now is suggestions on how to further improve performance of this function when 90% of the time is being eaten up by the Azure Queue Delete call itself? is there a better faster way to perform delete/bulk delete etc?
with the implementation mentioned here, i get speed of close to 25 messages/sec. Right now Azure queue delete calls are choking application performance. so is there any hope to push it further.
Does it also makes difference in performance which queue delete call am making? as of now queue has overloaded method for deleting message, one which except message object and another which accepts message identifier and pop receipt. i am using the later
one here with message identifier nad pop receipt to delete message from queue.
Let me know if you need any additional information or any clarification in question.
Inputs/suggestions are welcome.
Many thanks.The first thing that came to mind was to use a parallel delete at the same time you run the work in DoSomething. If DoSomething fails, add the message back into the queue. This won't work for every application, and work that was in the queue
near the head could be pushed back to the tail, so you'd have to think about how that may effect your workload.
Or, make a threadpool queued delete after the work was successful. Fire and forget. However, if you're loading the processing at 25/sec, and 90% of time sits on the delete, you'd quickly accumulate delete calls for the threadpool until you'd
never catch up. At 70-80% duty cycle this may work, but the closer you get to always being busy could make this dangerous.
I wonder if calling the delete REST API yourself may offer any improvements. If you find the delete sets up a TCP connection each time, this may be all you need. Try to keep the connection open, or see if the REST API can delete more at a time
than the SDK API can.
Or, if you have the funds, just have more VM instances doing the work in parallel, so the first machine handles 25/sec, the second at 25/sec also - and you just live with the slow delete. If that's still not good enough, add more instances.
Darin R. -
Do you have an idea how to improve the performance ?
Hi All,
Greeting,
I'm doing SEM IP. Regarding the performance, do you have some thought about this ?
So I have planning report for project report . As we know, if we forecast against project, means the date itself is the life of the project itself.
It means it could be more than 10 years (forecast period) and 10 years (actual period). Currently I segregate between actual and forecast into different info cube .
But the performance of the planning report is slow now. Do you have an idea about this how to increase the performance. The performance I mentioned here is when we're going to the report (after putting in the value in the selection screen).
The other question, at this moment, I have a multiprovider than this multi provider consist 2 info cubes ( actual and forecast ). Than my aggregation is sitting on top of that multi-provider .
My question whether that's approach correct or not ? Or do we have to create 1 aggregate (only for forecast), than I have multi-provider consisting forecasting aggregation and actual cube .
than my query will sit on top of that multi-provider ?
Which one is better ??
Thanks a lot all,
really need your help,Hi,
For the performance tuning, you can consider any of the following three methods,
1. Indices
With an increasing number of data records in the InfoCube, not only the load but also the query performance can be reduced. This is attributed to the increasing demands on the system for maintaining indexes. The indexes that are created in the fact table for each dimension allow you to easily find and select the data.
2. Partitioning
By using partitioning you can split up the whole dataset for an InfoCube into several, smaller, physically independent and redundancy-free units. Thanks to this separation, performance is increased when reporting, or also when deleting data from the InfoCube.
3. Aggregates
Aggregates make it possible to access InfoCube data quickly in Reporting. Aggregates serve, in a similar way to database indexes, to improve performance.
4. Compressing the Infocube
Infocube compression means aggregation of the data ignoring the request idu2019s. After compression, the system need not perform aggregation using the request ID every time you execute a query.
And I feel that as per your scenario, you need to do first compress the data based on user requirements and have only the required data in the infocube.
And for the approach regarding the Aggregation level design, choosing between the two approaches depends on the user requirements. For example,
If you have aggregation level created on top of multiprovider containing actual and forecast cube, in your report (created on top of aggregation level) you can view the key figure values present in both the cubes, which is not possible in the other approach.
So this approach is suited if your requirement is to view the records from both the cubes in your report (Comparing planning and actual values).
The second approach is used if your requirement is only to report on planning forecast cube.
Hopes this solves your issue.
Regards,
Balajee -
How to get a performing equalizer in iTunes
Hello
How to get a performing equalizer in iTunes?Try downloading and reinstalling the latest version of iTunes.
If that doesn't help, give us a little more information about the tracks that are having the problem and what you are seeing. -
How to Improve the performance in Variable Selection Screen.
Hi,
In Query Level we have Variable " User entry Defalt Valu". User want select particular value when he press "F4" it's take hours time how to improve the performance in Varaible Selection Screen.
Thanks in Advance.
Regards,
Venkat.Dear Venkat.
You please try the following steps:
1. Say the InfoObject is 0EMPLOYEE against which you have created the variable, which user is trying to select value against, when they execute the report.
2. Goto RSA1-> InfoObject tab-> Select InfoObject 0EMPLOYEE.
3. Selcet the following options:
Query Execution Filter Val. Selectn - 'Only Posted Value for Navigation'
Filter Value Repr. At Query Exec. - 'Selector Box Without Values'
Please let me know if there is any more issue. Feel free to raise further concern
Thnx,
Sukdev K -
How to solve thsi perform/form error occured in epc check
Call to a program containing a syntax error (CALL/PERFORM/SUBMIT)
Error in program /SAPAPO/SAPLATPQ_TIMESERIES - include /EPCOS/SD_CRSD0035_04 -
line 76
Syntax check error message:
A target area must be declared either explicitly with an INTO clause or implicitl
with a TABLES statement.
Internal Message Code: MESSAGE GYN
after clicking on error iam getting this statement how to solve this
PERFORM localise_reqtms(/sapapo/saplatpq_timeseries)
USING space
CHANGING l_ts_endhor.Hi,
This may be beacuse of the Internal Table you are passing to the Subroutine.
So, In the Subroutine definition, we need to change the interface definition.
FORM localise_reqtms(/sapapo/saplatpq_timeseries)
USING SPACE as type C
CHANGING L_TS_ENDHOR LIKE <Internal Table Type which you are using>
Thanks & Regards,
Vamsi. -
How to improve the performance of one program in one select query
Hi,
I am facing performance issue in one program. I have given some part of the code of the program.
it is taking much time below select query. How to improve the performance.
Quick response is highly appreciated.
Program code
DATA: BEGIN OF t_dels_tvpod OCCURS 100,
vbeln LIKE tvpod-vbeln,
posnr LIKE tvpod-posnr,
lfimg_diff LIKE tvpod-lfimg_diff,
calcu LIKE tvpod-calcu,
podmg LIKE tvpod-podmg,
uecha LIKE lips-uecha,
pstyv LIKE lips-pstyv,
xchar LIKE lips-xchar,
grund LIKE tvpod-grund,
END OF t_dels_tvpod,
DATA: l_tabix LIKE sy-tabix,
lt_dels_tvpod LIKE t_dels_tvpod OCCURS 10 WITH HEADER LINE,
ls_dels_tvpod LIKE t_dels_tvpod.
SELECT vbeln INTO TABLE lt_dels_tvpod FROM likp
FOR ALL ENTRIES IN t_dels_tvpod
WHERE vbeln = t_dels_tvpod-vbeln
AND erdat IN s_erdat
AND bldat IN s_bldat
AND podat IN s_podat
AND ernam IN s_ernam
AND kunnr IN s_kunnr
AND vkorg IN s_vkorg
AND vstel IN s_vstel
AND lfart NOT IN r_del_types_exclude.
Waiting for quick response.
Best regards,
BDPBansidhar,
1) You need to add a check to make sure that internal table t_dels_tvpod (used in the FOR ALL ENTRIES clause) is not blank. If it is blank skip the SELECt statement.
2) Check the performance with and without clause 'AND lfart NOT IN r_del_types_exclude'. Sometimes NOT causes the select statement to not use the index. Instead of 'lfart NOT IN r_del_types_exclude' use 'lfart IN r_del_types_exclude' and build r_del_types_exclude by using r_del_types_exclude-sign = 'E' instead of 'I'.
3) Make sure that the table used in the FOR ALL ENTRIES clause has unique delivery numbers.
Try doing something like this.
TYPES: BEGIN OF ty_del_types_exclude,
sign(1) TYPE c,
option(2) TYPE c,
low TYPE likp-lfart,
high TYPE likp-lfart,
END OF ty_del_types_exclude.
DATA: w_del_types_exclude TYPE ty_del_types_exclude,
t_del_types_exclude TYPE TABLE OF ty_del_types_exclude,
t_dels_tvpod_tmp LIKE TABLE OF t_dels_tvpod .
IF NOT t_dels_tvpod[] IS INITIAL.
* Assuming that I would like to exclude delivery types 'LP' and 'LPP'
CLEAR w_del_types_exclude.
REFRESH t_del_types_exclude.
w_del_types_exclude-sign = 'E'.
w_del_types_exclude-option = 'EQ'.
w_del_types_exclude-low = 'LP'.
APPEND w_del_types_exclude TO t_del_types_exclude.
w_del_types_exclude-low = 'LPP'.
APPEND w_del_types_exclude TO t_del_types_exclude.
t_dels_tvpod_tmp[] = t_dels_tvpod[].
SORT t_dels_tvpod_tmp BY vbeln.
DELETE ADJACENT DUPLICATES FROM t_dels_tvpod_tmp
COMPARING
vbeln.
SELECT vbeln
FROM likp
INTO TABLE lt_dels_tvpod
FOR ALL ENTRIES IN t_dels_tvpod_tmp
WHERE vbeln EQ t_dels_tvpod_tmp-vbeln
AND erdat IN s_erdat
AND bldat IN s_bldat
AND podat IN s_podat
AND ernam IN s_ernam
AND kunnr IN s_kunnr
AND vkorg IN s_vkorg
AND vstel IN s_vstel
AND lfart IN t_del_types_exclude.
ENDIF. -
How to increase the performance of a report
can any body tell me how to increase the performance of a report?////
i have prepared a report to show the expense detail .I have used BSIS and BSAS table.
But whenever I am executing it is facing runtime error (TIME_OUT error ).
Moderator Message: Duplicate Post. Read my comments in your previous thread.
Edited by: kishan P on Nov 25, 2010 1:38 PMPlease SEARCH in SCN before posting.
Also post performance related issues here. -
How to increase the performance in server 2008 R2 for RDP users
Hi,
My application take to much time to load. If anyone double click on mail client the exe file will appear in task manager but it will open after 5 mins. how to increase the performance.
My sever configuration is as below,
SC2600 Intel motherboard with total 24 core processors and 32 GB RAM and 8 TB Hard Disk. RAID 5 is configured which has two lungs one is 167 GB for C drive and other is 4.5 TB for D drive.
There are 28 Thin-clients connected to server through L300 N computing Thin-clients.
Thin-clients connect to V-space server installed in server for RDP users to get connected.
we have installed around 20 applications including printer and scanner driver. And apps are has below,
Firefox browser, windows mail, Adobe acrobat XI, canon printer and scanner drivers, Epson printer and scanner driver, E scan anti-virus, office 2007, v space, power ISO, win-rar,Tally and e token drivers and some backup software's.
Below are the services and features enabled,
AD, File services, RDP, web server, Hyper-v, .net frame work.
Is there a way to increase the performance .
Very slow performance.Hi,
what would you suggest on hardware configuration must be for above mentioned applications and services with those many users.
how many cores and ram size is required. -
How to increase the performance of a program
How to increase the performance of a program.
Regards
Lisa
Message was edited by: Lisa RoyHere are some links that may help.
http://www.sapinsideronline.com/searchspi/search.htm?page=article&key=20297&query_text=performance%7Ctuning
http://www.sapinsideronline.com/searchspi/search.htm?page=article&key=44221&query_text=performance%7Ctuning -
How to increase the performance of Weblogic server 7.0?
How to increase the performance of Weblogic server 7.0 ?
also, how do i avoid typing the server login and password evertime I start the
webserver?How to increase the performance of Weblogic server 7.0 ?It depends on what is not running fast enough for you.
also, how do i avoid typing the server login and password evertime I
start the webserver?In the startWebLogic shell script (.cmd or .sh) add:
set WLS_USER=weblogic
set WLS_PW=password
(Replace "password" with whatever your password is.)
Peace,
Cameron Purdy
Tangosol, Inc.
http://www.tangosol.com/coherence.jsp
Tangosol Coherence: Clustered Replicated Cache for Weblogic
"winston" <[email protected]> wrote in message
news:3fe42d33$[email protected]..
>
Maybe you are looking for
-
Error occurred while loading Generic extraction using Function module
Hi all I'm trying to do INIT for Generic Extractor using Function module, but i'm getting error as "Error occurred in the source system" Error message from the source system Diagnosis An error occurred in the source system. System Response Caller 09
-
I need Active X control through internet explorer in order to remote log into my office for all my business. Is there anyway this can be done for just this one site without going through all of the trouble of setting up a whole other windows system
-
Start-up problem --- 1. When I recently ran OnyX, I was told to run the Apple's Disk Utility from the Start-up Disk. 2. However, before doing this, I ran the Disk Utility from the hard drive, but the program would not complete the "Repair" function.
-
I found a problem in the amount of a MM invoice Item. Two similar items have different amounts in Purchase order history and I am trying to understand why does this happen, considering that the referred items have the same material number, price, qua
-
Can't configure Airport Extreme with IP 192.168.0.1 after software update
Hi there, after updating my ax with utility software 5.3.1 and firmware 7.3.1. The software didn't allow the dhcp configuration to stay at IP range from 192.168.0.40 to 192.168.0.200 The message said that this is not a valid IP. The configuration was