About CPU share increase.
When I move mouse point on stage of a swf file which has many MovieClip symbols.
The more MoiveClip symbols on stage or the more depth which MoveClip symbol has other MoveClip,
CPU share increase more.
I wonder the reson, and I'd like to know soultion to make lower CPU share.
Thanks.
if I'm to understand your code and description, you're adding 1000 movie clips each with a circle shape drawn in it. If this really is the case, I can imagine that it's pegging your CPU. My solution to that problem would be to either cacheAsBitmap, or render off stage then BitmapData.draw() the container movie clip and add the bitmap to the stage.
Similar Messages
-
We are running Weblogic 6.0 with SP2 on Win/NT Server. The Server has 2 CPU with 2 GB RAM.
But at times thru perfmon we see the Both the CPU load increased to 100% and the users
freeze.
Any Suggestion, Pl let us know.
Thanks in advance.
AnupYou can kill -3 even if nohup'd as long as stderr is redirected to a file
that you can tail (for example).
Peace,
Cameron Purdy
Tangosol, Inc.
Clustering Weblogic? You're either using Coherence, or you should be!
Download a Tangosol Coherence eval today at http://www.tangosol.com/
"Toad" <[email protected]> wrote in message
news:3c6f33ec$[email protected]..
Send the java process a SIGQUIT to get a thread dump. This implies thatyou
not be running with nohup: run as foreground process without the -hotspot
compiler option.
Example: kill -3 pid
(pid is the id of the java process you are signalling)
"levi" <[email protected]> wrote in message
news:[email protected]..
How to do a thread dump on Solaris?
Thanks,
Levi
"Cameron Purdy" <[email protected]> > Get a thread dump. Use
Ctrl-Break
in
the DOS box running Weblogic.
Peace,
Cameron Purdy
Tangosol, Inc.
Clustering Weblogic? You're either using Coherence, or you should be!
Download a Tangosol Coherence eval today at http://www.tangosol.com/
"Anup" <[email protected]> wrote in message
news:[email protected]..
We are running Weblogic 6.0 with SP2 on Win/NT Server. The Server
has
2
CPU with 2 GB RAM.
But at times thru perfmon we see the Both the CPU load increased to
100%
and the users
freeze.
Any Suggestion, Pl let us know.
Thanks in advance.
Anup -
Describe about CPU used in the technology of Blackberry?
Describe about CPU used in the technology of Blackberry?
CPU stands for Central Processing Unit. Check the below links -
http://en.wikipedia.org/wiki/Mobile_processor
http://en.wikipedia.org/wiki/CPU_power_dissipation
tanzim
If your query is resolved then please click on “Accept as Solution”
Click on the LIKE on the bottom right if the post deserves credit -
0 cpu shares, but using 100% of CPU?
According to docs.sun.com:
Note � Processes in projects with zero shares always run at the lowest system priority
(0). These processes only run when projects with nonzero shares are not using CPU
resources.
I have created several zones on a system (B63) and I'm using nspins to generate CPU load inside the zone. When I use "prctl -n zone.cpu-shares -r -v 0 -i zone <zoneid> to give a zone 0 cpu shares, the nspins processes in that zone climb to 100% cpu consumption, starving the nspins in the other zones. This has the opposite documented effect.
Do zones behave differently than projects in regards to cpu-shares, is there a bug, or is the documentation wrong?It is a bug,which is fixed in B69, see jwadams response in
http://forum.sun.com/thread.jsp?forum=226&thread=20903&tstart=15&trange=15
According to docs.sun.com:
Note ? Processes in projects with zero shares always
run at the lowest system priority
(0). These processes only run when projects with
nonzero shares are not using CPU
resources.
I have created several zones on a system (B63) and I'm
using nspins to generate CPU load inside the zone.
When I use "prctl -n zone.cpu-shares -r -v 0 -i zone
<zoneid> to give a zone 0 cpu shares, the nspins
processes in that zone climb to 100% cpu consumption,
starving the nspins in the other zones. This has the
opposite documented effect.
Do zones behave differently than projects in regards
to cpu-shares, is there a bug, or is the documentation
wrong? -
Syslog logging for zone.cpu-shares ???
Hi,
I have defined two zones (zone1 and zone2) and set zone.cpu-shares in global zone.
I've set also global state for zone.cpu-shares for logging.
The questions is why I do not get any messagess in "/var/adm/messges.warning" when some zone use more cpu-shares than defined.??
Configuration follows:
root@sol10test# prctl -i zone 0 1 2
zone: 0: global
zone.cpu-shares
privileged 20 - none -
system 65.5K max none -
zone: 1: zone2
NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT
zone.cpu-shares
privileged 10 - none -
system 65.5K max none -
zone: 2: zone1
NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT
zone.cpu-shares
privileged 70 - none -
system 65.5K max none -
root@sol10test# rctladm
zone.cpu-shares syslog=warning [ no-basic no-deny no-signal count ]
root@sol10test# cat /etc/syslog.conf
*.warning /var/adm/messages.warning
...P.S. does not work with syslog=notice either :((Hi,
I have defined two zones (zone1 and zone2) and set zone.cpu-shares in global zone.
I've set also global state for zone.cpu-shares for logging.
The questions is why I do not get any messagess in "/var/adm/messges.warning" when some zone use more cpu-shares than defined.??
Configuration follows:
root@sol10test# prctl -i zone 0 1 2
zone: 0: global
zone.cpu-shares
privileged 20 - none -
system 65.5K max none -
zone: 1: zone2
NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT
zone.cpu-shares
privileged 10 - none -
system 65.5K max none -
zone: 2: zone1
NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT
zone.cpu-shares
privileged 70 - none -
system 65.5K max none -
root@sol10test# rctladm
zone.cpu-shares syslog=warning [ no-basic no-deny no-signal count ]
root@sol10test# cat /etc/syslog.conf
*.warning /var/adm/messages.warning
...P.S. does not work with syslog=notice either :(( -
Zones, cpu-shares and SunCluster
Hi All,
What's the diffrence in controling cpu-shares (FSS) from the zone
configuration (zone.cpu-shares) and doing this from the
cluster framework for the resource group ?
Which method is the recommended one in this case?
(Sol10u3/sparc SC3.2)
/BR
UlfSun Cluster can bind resources and resource groups to project which would have CPU shares and other limits, the zone CPU shares is just that.
I'm not sure if anyone has come up with any best practice in this area yet to my knowledge.
Tim
--- -
There are three types of Cpu Resource Allocation in Solaris 10
1.) Fixed cpus -> [dedicated cpu]
2.) Varing cpus -> [assign the range of cpus]
3.) Cpu shares type -> [shares the single cpu to more zone ]
please refer this link: http://www.cants.org/~ec/unix/solaris-zones.html#resource_cpu0
What is the difference in running prstat -z command in fixed cpu mode and cpu shares mode?
very urgent, please reply as soon as possible.for example if u have the following config with ur solaris 10 system
Two cpus
Three zones :-
zone1 - > 30 shares
zone2 - > 20 shares
zone3 - > 20 shares
I started running cpu eating script in all zones
if u run prstat -Z in Global zone it shows following output
60% -> zone1
20% -> zone2
20% -> zone3
if u run prstat -Z in Non - Global zone it shows following output
60% -> zone1
20% -> zone2
20% -> zone3
Though zone1, zone2 and zone3 consumes all the allocate cpu it shows only
20 % in each zone2 & zone3.
60 % in zone1.
Very urgent, please give the solution as soon possible
Edited by: Solaris_Zones on Oct 8, 2007 10:34 PM -
Changing CPU shares while logged into zone
Hi, I am new to Solaris and I'm trying to create a script that will change the amount of CPU shares in the local zone while being logged into it. I am getting this error message:
bash-3.2# prctl -n zone.cpu-cap -v 20 -r -i zone myzone
24971: /usr/lib/utmpd
prctl: failed to delete resource control zone.cpu-cap for pid 24971: Permission denied
Is this because I cannot change the CPU shares while being in the zone? Is there anyway to get around this?implicate_order wrote:
Ever tried to remove a CPU or shrink RAM off a running server?
:)It isn't that difficult on the right hardware. It takes time to drain off the utilized resources; but I've done this quite a few times on the big iron machines. -
What the different of zone.cpu-cap & zone.cpu-shares?
Hi folks,
anyone who can explain the different of zone.cpu-cap & zone.cpu-shares? I'll be thank for the response.
ThanksIn a nutshell, caps set an upper bound and shares set a lower-bound for the amount of CPU that a zone gets.
zone.capped-cpu
As stated in zonecfg(1M):
Sets a limit on the amount of CPU time that can be used
by a zone. The unit used translates to the percentage of
a single CPU that can be used by all user threads in a
zone, expressed as a fraction (for example, .75) or a
mixed number (whole number and fraction, for example,
1.25). An ncpu value of 1 means 100% of a CPU, a value
of 1.25 means 125%, .75 mean 75%, and so forth. When
projects within a capped zone have their own caps, the
minimum value takes precedence.
The capped-cpu property is an alias for zone.cpu-cap
resource control and is related to the zone.cpu-cap
resource control. See resource_controls(5).If you set a capped-cpu to 2 on a 16 processor machine, the zone will never get to use more than the equivalent of two CPUs. That is, it could end up with lots of things in the run queue while the system has idle processors because the zone has hit its CPU cap.
zone.cpu-shares
zone.cpu-shares interacts with the fair share scheduler. It goes with the idea that a CPU is a terrible thing to waste. By setting the CPU shares for a particular zone to a value, it makes the zone get a minimum of a calculated percent of CPU if it is needed. The percentage that the zone gets is based on:
(this zone's zone.cpu-shares) / sum(zone.cpu-shares across all zones)
So, if z1, z2, and z3 are zones with 10 50 and 40 CPU shares, z1 would get at least 10% (10 / (10 + 50 + 40)) of the CPU time, z2 would get 50%, and z3 would get 40%. However, if z2 and z3 are idle, z1 could use 100% of the system's CPU resources. -
VisiBroker CORBA using 99% CPU and increasing infinite memory usage
I've read most of the CORBA posts on this newsgroup and found that no one else has had this problem, but I tried the other solutions just in case. None of them worked.
In my swing app running in JWS, I have a thread that initializes a VisiBroker ORB. Somewhere along the initialization line, my CPU usage for the JVM controlling my app jumps up to 99%, memory increases infinitely. When i finally killed the app, memory allocated was way over 160 megs. This does not happen with this application outside of JWS. I then used a memory profiler and found that the method call that was causing all of this was in some a class of VisiBroker's, the com.inprise.vbroker.ds.DSUser$DatagramThread in particular its run method.
If i decompile this class gasp, I actually find that there is a possibility of an infinite loop. Here is the code for the method:
public void run()
do
try
do
byte abyte0[] = new byte[8192];
DatagramPacket datagrampacket = new DatagramPacket(abyte0, abyte0.length);
_socket.receive(datagrampacket);
IStream istream = new IStream(datagrampacket);
DSResource dsresource = istream.read_Resource();
InetAddress inetaddress = datagrampacket.getAddress();
int i = datagrampacket.getPort();
synchronized(_handlers)
Enumeration enumeration = _handlers.elements();
if(debug)
System.out.println("Received message: " + dsresource);
for(; enumeration.hasMoreElements(); ((MessageHandler)enumeration.nextElement()).handle(dsresource, inetaddress, i));
} while(true);
catch(Exception _ex) { }
while(!_shutdownInProgress);
}Now using the information i get from the memory profiler, the actual place where the problem is is _socket.receive(datagrampacket); . This method performs the java.net.PlainDatagramSocketImpl.peek method as well, but basically you get the point. Using the memory profiler I also find that this causes a SocketException, which leads to an IOException.
With all this being said, I tried a few things from the newsgroup. I tried making sure my JNLP file specified to use 1.3 because of the classloader issues. This didn't work. I also tried putting code into the thread that does this and perform the setContextClassLoader(getClass().getClassLoader()); so that if it were the classloader issues I've been reading aobut it would take care of that. I have my ORB properties set up in the code and as I said before, this application works perfectly fine outside of JWS. I have ALL needed jar files referenced in my JNLP, it just comes to when it gets to that one line of code. Does anyone out there have any suggestions?No one responded to this post but I came across the solution that I will share in case anyone else needs this in the future. Although I think it's a bug in the VisiBroker code that shouldn't allow this, the problem seemed to be with OSAgent. Upon the recommendation from someone else, I started OSAgent before running JWS and everything worked appropriately. Not familiar enough with VisiBroker to know why this settled the memory leak and infinite loop issue, but it did.
-
RAM underclocks when cpu FSB increased??? help?
This is my first time overclocking so sorry if i sound dumb lol.
Anyways, I have an MSI p6n Sli Platinum (retail bios), an E6420, and OCZ reaper 800 RAM.
So my problem is;
Just to start out, I increased the FSB from 1066 to 1070, and when I rebooted, I noticed that my RAM speed went from 800MHz to about 786MHz.
So whenever I increase the CPU's FSB, the RAM speed decreases.
Could anyone tell me why, and how to fix it so I can finally OC?
I do have the cpu and ram thing set to 'linked'. Could this be why?
Please someone help guide me through this, I really would like some increased performance. thanks.Quote from: wrangler on 31-July-07, 06:55:09
To Aaron: This is the overclocking forum right? I'm not here to "use what I have". What kind of advice or help is that. Totally inappropriate for this forum. No one in here is under any illusions that a 1 Mhz increase in FSB is going to make a difference. It is an example used to illustrate what is happening with the board. mmmkay. Thanks.
But he/she's complaining, it's appropriate IMO. No one likes a whiner.
If you say that you know increasing by 1FSB won't do anything, why did he/she bother doing it? Jump straight to 333FSB, set DRAM ratio to 1:1.2, CPU @ 3GHz and RAM @ 800Mhz, what's the problem with doing that?
I also said this earlier and he/she ignored it completely:
Quote from: AaronYuri on 26-July-07, 16:11:09
It has to be big steps:
333x8=2664MHz CPU clock. 1333FSB QDR
333x1.33=442MHz (884MHz DDR), Reapers will handle this easy, then start tighenting timmings. Or set divider to 1.5:1 to get a DDR speed of 1GHz, I would recomend 5-5-5-15 timings, then tighten them down. Increase voltage only if necessary.
Make sure you have sufficient cooling...
And just to add, hijacking isn't nice either. -
Hi have been absent for awhile then about two weeks ago I stopped here regarding a prob I was having with my mouse. I read a post aabout somebody who had successfully changed his cpu multiplier using the k7n420 which nobody had reported doing successfully for several months after the boards release. At least that was my impression. After confirming that someone had done it and that after updating their bios to 2.6 the multiplier could not be changed again I decided After six months of running steady at the default settings. I busted out my silver pen and proceeded to unlock my athlon 1700. To my utter astonishment I could now freely set the multiplier. My previous systems were all overclocked and I had a watercooling rig mothballed in the closet. My question is if the k7n420 will support the 2600 does that mean that the bios will include a fsb of 166 or will the multiplier on the new cpu's be higher than 12.5. My current settings with the unlocked cpu and watercooling have me maxxed out at 12.5. I blew up one of the first boards I had by using the fsb as a means of overclocking and do not wish to risk the same "early chipset initialization death". But I have upped it a little and the system is unstable at anything more than one notch above default. However the system is fine with the default settings and I am currently at 12.5 with the voltage at default. increasing the default voltage did not improve the trouble when I increase the fsb. So I was hoping that a bios release would either include the 166 fsb or a higher multiplier if there is one (I dont think there is though). It seems to me that if they are to support the 2600 there will have to be a change because at default and 12.5 XP2000 is the limit.
PS The ring buffer problem appears to be related to a 24x10x40 cdrw from iomagic which I had bought on sale for 49.99 "I couldn't resist getting one for the price." After I noticed the ring buffer error in the event log always followed an atapi controller error and the a cd error I removed the iomagic burner and put my previous LG8120b back in and have not seen the problem since. iomagic was less than helpful and after researching the burner I found pretty much nothing other than others looking for help with the same burner. Their is no information on firmware for it and some of the mostwell known cd info sites hardly even mention it. On top of that the support guy I chatted with didn't know nvidia had a chipset and told me I probobly had a via even after I explained to him that it has been around for awhile I closed by suggesting he go to nvidia's web site and see himself. I mean really they already have another chipset about to hit the shelves how can a tech support person not be aware of these things.rosmini,
Since you are on Tom's Hardware site, they have a video, which has been referenced in this forum several times, on how to safely unlock the processor.
I would not bother with trying to unlock the processor until they come out with the next series of chips. There is talk of the 2400+ and 2600+ coming unlocked. Then the processor you have with we worth peanuts and then if you want to take a chance on trashing it, go for it.
Your best bet is just raising the FSB a few notches and you will get the desired effect and more. It give you a higher processor speed but most importantly you get the greater memory bandwidth. That is where you really see the benefits. Look at the GeForce Cards as an example. Overclocking the Core does little, but overclocking the RAM makes major boosts in performance.
Take Care,
Richard -
Question about CPU upgrade for Satellite A30-104?
Hello,
My Satellite A30-104 has recently come to the end of its warranty, and having had to open up the heatsink for cleaning and seeing that the CPU was accessible, I wonder if there is any (likely) scope for upgrading it.
The processor is a Celeron (Northwood) 2.6GHz. I'm not looking for more grunt, I'd prefer a lower-power chip, though the much larger L2 cache of a Pentium 4 is also desirable. I'd be very grateful if anyone could advise whether any upgrades are likely available, and if so which chips would be appropriate? If I can give any more useful spec information, please ask.
Thanks in advance.Hi, thanks for the reply -- and sorry it went ignored so long, it turns out I hadn't configured my email watches correctly :(
I appreciate that it's really a job for a technician, and I don't want to brick a perfectly good computer, but I think its EOL is not far off anyway so I'm prepared to be a little more invasive than before.
I know that I can get at the CPU, and I know the basic precautions for physically tampering with PC internals.
What I'm first of all concerned about is this: if I replace the CPU, and it doesn't function with the laptop, can this damage other parts of the system such that it'd no longer work by replacing the original?
The Celeron puts out a great deal of heat (all the time) but isn't it fair to assume that a P4-M will be less hot? -
Question about CPU usage for video playback
I've asked a related question already on the Safari forum, but would like some clarification, please.
The speed of this iMac is 400 MHZ and whenever I go to YouTube or almost any other site that requires video I see that the CPU usage can peak way up at 80% or more. I have Flash 9 installed which has a minimum of 500 MHZ, so I get pretty choppy video, but that's not the issue here. I can live with that. I keep any other applications closed. I'm often running a small fan over the top of the iMac to help vent the buildup of heat. I can monitor the temperature at the Hard Drive and I suppose that gives me an idea, of sorts, about general temperature conditions inside.
The answer I got was that this kind of CPU usage could be detrimental to the processor as it builds up excessive heat and to keep this kind of video to a minimum.
My question is can anyone roughly suggest what a maximum time on YouTube, for example, would be, 2 minutes, 5 minutes, is 10 minutes too long? I have plenty of RAM at 768. Some guidelines?
Thanks.Hey WZZZ,
Thanks for the star and kind words.
I'm the de facto Mac guy at my kids' school and we have around 25 iMac Slot Loaders working there. You can imagine they get abused quite a bit. There are 10 running Garage Band in the Music Department. That puts a tremendous strain on the CPU and I'm actually surprised that they run it so well. My son had a 600 iMac running GarageBand, he was complaining that it was getting jumpy and when I looked at it he was running 10 unlocked tracks simultaneously! So now he has an eMac G4 800 and that of course runs a lot better.
So to sum up, with all the abuse of those machines in terms of the CPUs the problems I have with them have nothing to do with that. The problems have more to do with parts of the OS that they toss, headphone jacks abused, CDs jammed in the slots, and the like.
A couple of other related things. I've got Hardware Monitor, demo, installed and I think it reported it could only find the hard drive sensor, if I'm not mistaken - nothing else on this Mac with a sensor. Is that right?
I see references to CPU sensors on 400 iMacs but on the 400 I have here for repair Temperature Monitor reports no sensors. Perhaps there were different versions of the 400.
But very good to hear that the fan is a good idea for CRT related things. Should I keep the fan running-mostly for that hard core CRT stuff- even if the computer is sleeping and the room temp. is only around 62-64 F.? (We need to put on warm clothes to sit in front of this thing now, but worth it to keep this old machine happy).
On the one I did the fan pushed the airflow in the direction of the passive flow of the iMac - in at the bottom and out the grill by the handle.
One more question, more out of curiosity than anything else: If I move this small clip-on fan close to the case - right now it's about 3 feet away and the image is stable - the screen begins to flicker and flutter quite a lot. My theory is that that's happening not necessarily because of electro-magnetic interference from the fan motor, but rather, because the back of the tube is getting cooled unevenly. What do you think?
Well the classic failures that I see in the iMac are in this order:
1) Dielectric breakdown of the flyback transformers internal insulation. This is heat/age related and a common problem with CRTs in general.
2) Breakdown of high voltage electolytic capacitors and regular high voltage capacitors on the neck board and PAV supply.
3) Solder problems with the flyback itself. This is diagnosed by the upside down boot technique.
I used to repair these problems but now it's easier for me to swap the Firewire boards into working 350s. I've got 12 of those in the basement currently.
Richard -
How to get statistics (or precise data) about cpu speed and RAM
My problem is I want to determine the CPU speed of the computer is running the applet.
I know there's no way to obtain in a simply (and standar) way this property, so I've thinked about generating statistic methods for do it (something like executing a loop a defined iterations)
My doubt is what to put inside this loop, beacuse I would like to know just not CPU speed (or satistics about it), I need also free RAM statistics, so I've thinked there would be some specific java instructions to give a relationship of these data I need.
My question is if someone has done (or has thinked about) this kind of classes before me, and can tell me what is the best way to make the same.
Tankshttp://www.javaworld.com/javaworld/javaqa/2002-11/01-qa-1108-cpu.html
http://java.sun.com/products/jdk/1.2/docs/guide/jvmpi/jvmpi.html#hprof-cpu
Maybe you are looking for
-
Ipod Shuts Down on it's own upon selection of a song.
For some reason, My ipod (30 gb 5th gen) which I just bought a couple weeks ago keeps shutting down when I select a song to play. It loads the song, Gets ready to play it, but then vibrates, shuts itself off and displays the Apple logo. I thought thi
-
Validation Rule - Should contain only alphabets and can be upto 4 characters long
Hi, I am using MDS 2012 and want to create a business rule for data validation which says, "Should contain only alphabets and can be up to 4 characters long". How can I create such a rule in MDS? Also the Code and Name attributes are 250 characters b
-
Trying to import messages to mail, with mixed results...
I have a new laptop, so I'm trying to transfer the Archive folder in Mail (on my old laptop) to the new laptop. Both are running the latest versions of Mountain Lion. There are 20,000 messages in the Archive. But when I export it, and then import on
-
Get the output of a query in a textpad..
Hi.. I need to get the output of a query in a notepad.. Can anyone help me..
-
Quantity of labels to be print during good receive
Hi experts! I have a problem with the quantity of labels to be print during good receive. The point is the following = -Material Master - Basic Unit of measure "Liters" -Purchase Order - is created with Basic Unit of measure "Liters" -Good Receive -