Core i5 'max thread' query
Hi guys,
I've just upgraded my MacBook Pro to a unibody Core i5 model. Loving the speed increase all round in Motion & FCP etc.
Although it's a dual core (2.4), due to the hyper-threading on each core, it registers in Compressor and Shake as having 4 accessible processing threads.
So my question, perhaps obvious as it may sound, is: Should I enable Shake & Compressor to use all 4 threads, or should I cap them to 2?
Only reason I ask is because I'm rendering a project in Shake at the min with 'Max Thread' set to 4, yet it seems really slow. Perhaps it's an abnormally large project? Although it only contains 1 x ProRess 422LT video and one Quicktime SD file. The rest is a concoction of keying nodes and adjustment layers etc.
I've included a screen grab of the project in question (not sure if it helps at all):
http://i1.creativecow.net/u/134316/shakerenderscreen.jpg
It's a bit of a messy project, but the original screen & lighting were quite poor, so I've had to work hard to get it to viewable state I am by no means, a shake-spert
All help & advice appreciated.
Thanks in advance.
Chaz
What I was told and seems to hold true for me is to use one instance for two processors, so for 4 processes (virtual or otherwise), use two instances...
Patrick
Similar Messages
-
How to get OpenSPARC *prom.bin boot files for one core and two threads?
How can I get OpenSPARC single core two thread files to boot for stand-alone programs and OpenSolaris,
similar to the release download files
design\sys\edk\os\OpenSolaris\proto\1c4t_prom.bin and
design\sys\edk\os\OpenSolaris\proto\1c4t_obp_prom.bin?
How about for other single core but arbitrary thread counts?
Thanks,
sparcMT1You can modify the 1c4t machine description files in the directory "softsim/t1_fpga/src/xilinx/configs" to create 1c2t machine description files. You have to modify two makefiles "softsim/t1_fpga/src/xilinx/configs/Makefile" and "softsim/t1_fpga/src/xilinx/prom/Makefile" to create 1c2t prom.bin file. You have to also modify the file "softsim/t1_fpga/src/xilinx/include/xilinx_t1_system_config.h" to specify the threads in the core that are enabled. The parameter that specifies the thread mask is "STRAND_STARTSET". It may be possible to only modify STRAND_STARTSET and use the newly compiled 1c4t prom.bin file. OBP may complain that it couldn't start two threads in the core.
You can get the source code for the software at the following url
http://www.opensparc.net/opensparc-t2/downloads.html
The software is in the "OpenSPARC T2 Processor Download for Architecture and Performance Modeling Tools" package.
-gopal -
Does Max threads in Viusal Admin overide Max concurrency in Channels...
Hi All,
Here are the settings for no of JDBC threads in our Java Visual Admin:
AFWCall 10
AFWRecv 5
AFWRqst 10
AFWSend 5
JDBC_http://sap.com/xi/XI/SystemCall 5
JDBC_http://sap.com/xi/XI/SystemRecv 5
JDBC_http://sap.com/xi/XI/SystemRqst 5
JDBC_http://sap.com/xi/XI/SystemSend 5
Now the issue is that even if I put Max concurrency as 1 or 5 in JDBC adapter, I see 5 messages with status 'Delivering' at one time.
So does that mean Max threads in Viusal Admin overide Max concurrency in Channels
Pls advice...on this...
Regards,
XIer
Edited by: XIer on May 14, 2008 2:16 AMHi All,
Here are the settings for no of JDBC threads in our Java Visual Admin:
AFWCall 10
AFWRecv 5
AFWRqst 10
AFWSend 5
JDBC_http://sap.com/xi/XI/SystemCall 5
JDBC_http://sap.com/xi/XI/SystemRecv 5
JDBC_http://sap.com/xi/XI/SystemRqst 5
JDBC_http://sap.com/xi/XI/SystemSend 5
Now the issue is that even if I put Max concurrency as 1 or 5 in JDBC adapter, I see 5 messages with status 'Delivering' at one time.
So does that mean Max threads in Viusal Admin overide Max concurrency in Channels
Pls advice...on this...
Regards,
XIer
Edited by: XIer on May 14, 2008 2:16 AM -
Setting Webserver max-threads in Weblogic
Hi all!
I'm porting an application from Tomcat which uses max-threads to set up the number of maximum concurrent connections to the web server.
I see Oracle Weblogic uses Workmanager instead, but what is the correct way to assign a WorkManager with a MaxThreadsConstraint to the Web server ? (or if it's not possible to the Web server to a Web application)
Thanks
FrankAssuming that you are porting the application to Weblogic server,if you want to set maximum concurrent connections on the weblogic server,you could configure a workmanager with MaxThreadConstraints.You can either create a Global Workmanager or a scoped work manager on the basis of your requirement.
Please refer to the below link to understand the difference between both and how to go about configuring them:-
http://docs.oracle.com/cd/E11035_01/wls100/config_wls/self_tuned.html
http://docs.oracle.com/cd/E11035_01/wls100/config_wls/self_tuned.html#wp1064810
Now,if you want say for example only 10 concurrent requests on any managed server instance at any point of time,you could configure a Global manager with "Max Threads Constraint" of 10 and target it to the specific instance.
Hope this helps!
-Sandeep -
jcp.endpoint.main.max.threads exceeded error on jrun 4.0.1 server
Posted: May 20, 2005 4:30 AM Reply
hi,
i am getting following error on my jrun server
'too many concurrent requests,
jcp.endpoint.main.max.threads exceeded'
The application is running on jrun 4.0.1 server.
i checked the log files but the load was too few on the day.
I tried a lots of stuff on net but could not find the solution.
pls help it out urgently
manojLisa,
I would check the online docs and/or the following HowTos for more details. They are not specific to JRun, but will give you the general process and list or archives and other things to copy and add to the classpath:
http://technet.oracle.com:89/ubb/Forum2/HTML/006397.html
http://technet.oracle.com:89/ubb/Forum2/HTML/006398.html -
How to find out Max threads count for Custom Work Manager??
Hi All,
How to find out Max threads count for Custom Work Manager??
I have created 1 WM & targeted it to a cluster of 2 MS. Later I created Max thread Constraint = 300 & assigned that to my WM.
I need to check how many threads maximum were created by my WM after lets say 1 completed day.
The idea behind that is to understand if .. 300 is enough or need to increase the same way as we do it for JDBC datasource like.. Active connections Max count.. etc.
Any Idea?
regards,
TanmayHi Ashish,
Thanks for your response.
The monitoring page that you are suggesting does not indicate the max thread count reached for a particular WM.
For example, If I have Sample WM with 300 Max Thread Constraint, is there a way for me to check how many threads have been used out of 300??
Any pointers in this regard are appreciated.
Thanks,
Tanmay -
Weblogic work manager - Control min./max. threads & fair share
I have an application which is running on Weblogic 10.3.2. I need to be able to control the number of threads the server assigns to this application. The application has 3 MDBs and for each of these MDBs, we need to assign a weight so that that the available threads are distributed among the 3 MDBs according to the weight.
After going through the Weblogic documentation, it looks like I could create 3 work managers with the min. threads, max. threads and fair share. These work managers could be assigned to each of the MDBs. But, this does not control the total number of threads the server assigns to the application.
Question:
Is there a way we can create a work manager with the min. threads and max. threads and assign it to the whole application? This could be used to control the min./max. threads assigned to the application. Then we could define 3 work managers with the fair share and assign them to the individual MDBs.Hi ,
You can create a work manager with min. threads and max. threads constraints defined. Check this:
http://www.oracle.com/technetwork/articles/entarch/workload-management3-087769.html
Thanks,
Sharmela -
Hello!
In Tomcat we can specify the attributes of Connector in conf/server.xml like maxThreads, minSpareThreads,maxSpareThreads to control the Thread Pool.
How we can do this in Weblogic? Which is the default value of max threads?
thanks a lot
A.Hi,
Which Version of WLS are u using? Because till WLS 8.1 We can use Execute Queue Concept to adjust that. We can use " -Dweblogic.ThreadPoolSize=100" JAVA_OPTIONS to do this in WLS8.
But from WLS 9.x onwards we have a new concept called as WorkManager (Which is even recommended). Using this u can assign the MaxThread Constraint not only to the Server ...even u can do it at Application level now.
Please refer to: http://jaysensharma.wordpress.com/workmanagers/ to know how to do it.
<font color=red>NOTE: </font> for any reason if you dont want to use WorkManager thing in your Domain then Please apply the Following JAVA_OPTIONS to use the Old (WLS8.1) Style of Thread Pooling Mechanism:
-Dweblogic.Use81StyleExecuteQueues=true
and
-Dweblogic.ThreadPoolSize=100
Thanks
Jay SenSharma -
HOW CAN GET THE QUERY WHICH IS BEEN USED MAXIMUM ON THE SERVER; OR THE QUERY WHICH IS SLOWING DOWN THE SERVER?
h_kanchan wrote:
Hello
I have a very strange issue that developers have come up with .Developers are often comming with something.
I upgraded our Oracle 10.2.0.1 64 Bit instance to 10.2.0.4 using p6810189_10204_MSWIN-x86-64 patch . After upgrading every thing works fine except >when aggregate function are used like SUM or MAX the query takes ages to complete . Wanted to know if such a scenario was faced earlier.
I was also told to apply patch p8439221_10204_MSWIN-x86-64 when I was doing the initial upgrade which I have not apply , i had time constraints as >developers were doing smoke testing for an application. Could this be the reason .Propapably not.
Did you traced those 'slow' sessions to see what's exactly happening when they executing ?
>
Your help will be much appreciated ,thanks once again .cheers -
What is the Default WorkManager Max-Threads-Constraint default value?
Hello,
I know that when I create a new WorkManager the default value for the Max-Threads-Constraint is -1.
But I wonder if this is the case also for the default value of the Default Work Manager?
I would assume that the Default WorkManager has other values set. Couldn't find any reference to that.
Thank you in advance.It is called as Self-Tuning Work Manager.
It means, it doesnt have a specific value. It varies according to the demand in a specific time.
Kinds,
Gabriel Abelha -
WorkManager Max thread constraints not applied to MDB
Hi
We have a problem with the workmanager & the max threads constraint in weblogic 10.3. It doesn't seem to apply the constraint at all. The number of beans (message-driven) seems to stop at 16 (max threads is set to 25, applications based work-manager) but it threads the calls far beyond that limit until we run out of database connections. Or at least, that's what it seems to be doing. The server has been restarted and the application redeployed. We've also created a default workmanager with the same constraint but nothing changed. Changing the max-treads-constraint to 1 leads to the same result, 16 beans are created and it seems to create threads until we run out of database resources.
Any ideas on what might be the cause of this ?
Edit: just noticed that the @MessageDriven( name=".. wasn't set. Might that be the cause of this problem ? (not setting the name of the mdb in the @MessageDriven annotation)
/Laban
Edited by: Laban on 2009-jun-15 09:22
Edited by: Laban on 2009-jun-15 09:47The problem is not that it doesn't create more then 16 threads, it's that it seems to be creating more like the 1000+ threads despite the fact that i've set the max-threads constraint in the application specific work-manager (for the specific ejb). It creates 16 ejb's though.
1 - Set the MDB's dispatch-policy to reference a custom work manager (not the default work manager)I did: opened the application, selected the ejb containing the mdb. Configuration - workload, create new workmanager. Selected the global max-constraint workmanager that i've created that says that it should have a restriction of 25 threads. Then both a redeploy and a restart just to be sure.
2 - Set the MDB's max-beans-free-pool to higher than 16 (default is something like 1000)Is this necessary if i set the max-threads constraint. If that's the case, what is the max-threads constraint actually doing ? And another thing, the max-beans-in-free-pool can't be set using the /console if i'm not mistaken which is a bit annoying.
3 - Configure the custom work manager with max threads constraint of higher than 16.I've tried 25 and 1, nothing seems to change. And as i mentioned, i also tried with a default workmanager. It still created 16 ejb's and a WHOLE lot of threads. -
Hi all,
LOOP AT ITAB.
IF S_KUNNR IS not INITIAL.
SELECT MAX( MBLNR ) FROM MSEG INTO MBLNR
WHERE MATNR EQ ITAB-MATNR
AND KUNNR EQ ITAB-KUNNR
AND BWART eq '951'.
else.
SELECT MAX( MBLNR ) FROM MSEG INTO MBLNR
WHERE MATNR EQ ITAB-MATNR
AND KUNNR ne ' '
and sobkz eq 'V'
AND BWART eq '951'.
endif.
i need mjahr also from mseg .Top part is working.
LOOP AT ITAB.
IF S_KUNNR IS not INITIAL.
SELECT MAX( MBLNR ) mjahr FROM MSEG INTO MBLNR mjahr
WHERE MATNR EQ ITAB-MATNR
AND KUNNR EQ ITAB-KUNNR
AND BWART eq '951'.
else.
SELECT MAX( MBLNR ) mjahr FROM MSEG INTO MBLNR mjahr
WHERE MATNR EQ ITAB-MATNR
AND KUNNR ne ' '
and sobkz eq 'V'
AND BWART eq '951'.
endif.
after adding mjahr its not working.how to write query for that.Like this:
tables: mseg.
data: mblnr like mseg-mblnr,
mjahr like mseg-mjahr.
parameter: p_matnr like mseg-matnr.
SELECT MAX( MBLNR ) mseg~mjahr FROM MSEG INTO (MBLNR, mjahr)
where matnr eq p_matnr
GROUP BY mseg~mjahr.
WRITE:/ MBLNR, MJAHR.
ENDSELECT.
Pl. see ur other thread on the same and close either of them.
thanks\
Mahesh -
Update a field based on a max select query
Hi
I am just learning SQL so apologies if this is simple to you guys.
I have a table called [Stock WIP Table] which has duplicates in it. I have an [autonumber] field, a [palletid] field, and a [number5] field. I have the select query working to show the most recent record for each palletID:
SELECT
PalletID,MAX(autonumber)
FROMdbo.[Stock
WIP Table]
GROUPBYPalletID
How do I get the query to now delete all rows that are not in the select query?
Alternatively how could I add update the [number5] field to '1' where the [autonumber] is in the select and I can then delete all records that do not contain a '1' in [number5]
Can anyone help?
Thanks
AJHi
I am just learning SQL so apologies if this is simple to you guys.
I have a table called [Stock WIP Table] which has duplicates in it. I have an [autonumber] field, a [palletid] field, and a [number5] field. I have the select query working to show the most recent record for each palletID:
SELECT
PalletID,MAX(autonumber)
FROMdbo.[Stock
WIP Table]
GROUPBYPalletID
How do I get the query to now delete all rows that are not in the select query?
Alternatively how could I add update the [number5] field to '1' where the [autonumber] is in the select and I can then delete all records that do not contain a '1' in [number5]
Can anyone help?
Thanks
AJ
Simply this for the DELETE
DELETE t
FROM dbo.[Stock WIP Table]t
WHERE EXISTS (SELECT 1
FROM dbo.[Stock WIP Table]
WHERE PalletID = t.PalletID
AND autonumber > t.autonumber)
No need of UPDATE bit value and then deleting. just above will ensure it gets deleted in single step
another method you may use is this
DELETE t
FROM dbo.[Stock WIP Table] t
CROSS APPLY (SELECT MAX(autonumber) AS MaxID
FROM dbo.[Stock WIP Table]
WHERE PalletID = t.PalletID
)t1
WHERE t1.MaxID <> t.autonumber
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
Hi All,
The below mentioned query is executing very often.
it seems to be executing every time a web thread initiates and its degrading the performance.
Please provide your suggestion why this is being executed very often.
select a.value lang, b.value terr, c.value cs into :1, :2, :3
from nls_database_parameters a,
nls_database_parameters b,
nls_database_parameters c
where a.parameter = 'NLS_LANGUAGE'
and b.parameter = 'NLS_TERRITORY'
and c.parameter = 'NLS_CHARACTERSET';
begin
select owa_util.get_version into :4 from dual;
exception
when others then
:4 := '1.0.0.0.0';
end;
begin
execute immediate 'declare test boolean;
empty_vc_arr owa_util.vc_arr;
begin test := owa_match.match_pattern(''test'',empty_vc_arr,empty_vc_arr,false);end;';
:5 := 1;
exception
when others then
:5 := 0;
end;
end;It looks like it is trying to test the database for many things FOR EACH PAGE.. (urgh!!)
Some of those values are going to be mostly static unless a database update is done.
(eg :4 and :5)
You could probably cheat and hard code those values and drop the expensive EXECUTE IMMEDIATE code that is doing nothing more then checking that a particular function exists.
Also, for that first SQL statement, try adding the /*+ cache */ hint.
You may need to use the OCI drivers for it to work.
MK -
Daily max(value) query for time period
I am looking to get the maximum value for every 24 hour period for a month. So for example my date range can be defined by...
select to_date('&date','mm yyyy')-1 + level as DateRange
from dual
connect by level <= '&days'
...where I can provide the first date of the month and number of days in the month or a lesser value if less time is required. So, the results of the above query plus 24 for the range. I thought a some googling would provide me what I needed, but my search came up empty.
I was hoping to do something like this...
select utctime, max(value) from table where utctime between....
Any guidance would be much appreciated!
Thanks!Zewbie wrote:
Sorry about that...Oracle 10.2.0.5
create table x (utctime date,
pointnumber int,
value float)
insert into x values (to_date('02022012 232221','mmddyyyy hh24miss'), 10, 3.245);
insert into x values (to_date('02022012 202202','mmddyyyy hh24miss'), 13, 14.5);
insert into x values (to_date('02024012 103421','mmddyyyy hh24miss'), 10, 23.245);
insert into x values (to_date('02024012 042528','mmddyyyy hh24miss'), 10, 33.245);
insert into x values (to_date('02028012 022321','mmddyyyy hh24miss'), 14, 32.245);
insert into x values (to_date('02028012 205221','mmddyyyy hh24miss'), 10, 2.245);
insert into x values (to_date('02029012 211421','mmddyyyy hh24miss'), 14, 1.4345);
insert into x values (to_date('02029012 082221','mmddyyyy hh24miss'), 10, 3.245);Do you have dates 7000 years in the future, or ido you have typos?
So a query of the above would provide max daily value based on a pointnumber such as 10 for a given period.What are the results you want from the given data?
What role does pointnumber play in this problem?
If you want something like this:
A_DATE POINTNUMBER MAX_VALUE
02-Feb-2012 10 3.245
02-Feb-2012 13 14.5
02-Feb-2012 14
03-Feb-2012 10
03-Feb-2012 13
03-Feb-2012 14for the 2 days starting with February 2, 2012, then you can do this:
WITH days_wanted AS
SELECT DATE '2012-02-02' -- starting date
+ LEVEL - 1 AS a_date
FROM dual
CONNECT BY LEVEL <= 2 -- number of days wanted
SELECT d.a_date
, x.pointnumber
, MAX (x.value) AS max_value
FROM days_wanted d
LEFT OUTER JOIN x PARTITION BY (x.pointnumber)
ON TRUNC (x.utctime) = d.a_date
-- WHERE x.pointnumber = 10 -- If wanted
GROUP BY d.a_date, x.pointnumber
ORDER BY d.a_date, x.pointnumber
;
Maybe you are looking for
-
Bug: Bookmarks do not show up on the browser when there is no connection
Pre is not showing bookmark icons when there is no internet connection. I am currently on international roaming with no data connection, but am using the Pre over WiFi. The Pre turns off WiFi when not in use, and then reconnects as soon as i turn it
-
Mounting a shared zfs onto a remote system : how to restrict permissions
I'm trying to setup some basic nfs shares out of a zpool and failing miserably as it is. Here's what I have; all my machines are in 10.154.22.0/24 .. it's basically a test (pre-prod) network - oslo, the nfs server, 10.154.22.1, SunOS 5.10-x86 - helsi
-
how do a get a refund on a ridiculously slow downloading rented movie for my apple tv dispite a >5mb/sec down load speed? my first experience with appletv movie rental. no good. rented at 4:30pm. still waiting for standard def movie to finish at 8:10
-
Charm configuration in solman 4.0 SP14
Hello Gurus, I have to do Charm (Change Request Management) configuration in my landscape of SED-- SEQ,STQ-- STP. Solman - STM Can anyone of you please provide me step by step detail for this. Thanks in advance Jain Pankaj
-
System DSN not visible to 'domain users', why??
We have a Windows Server 2012 R2 Remote Desktop Services RDS farm. I set up a 32-bit *system* DSN properly with the 32-bit ODBC app for Crystal Reports 2011, a 32-bit app. When a domain user opens CR the newly created DSN does not appear in CR, thoug