mel speed

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Display Modes
  11 November 2005
mel speed

When I run a processor intensive script I noticed maya only uses 50% of the cpu power on my single processor p4. How can I use the rest? It would be tremendously helpful as I'm moving around a lot of particles.

twitter | vimeo
  11 November 2005
mel's not exactly optimal. You could assign a higher priority to maya in your task-manager->processes (then right click on the maya.exe process). Upping it to above normal may give a bit more CPU time. Upping it to real time would make your system pretty much hang till maya has finished.

As for say HT P4's, you can't really get a second thread running for mel, so would always be at 50% on those CPU's. The only place multithreading comes into play is when Maya is rendering, by which time it should only be calling Compute() on the various nodes in the DG. You can of course start favouring connecting up rendering utilities all over the scene instead of using expressions, since a color blend will LERP 2 numbers, rather than doing it in script. Any DG nodes will be cached, safe for multithreading when rendering, and far faster than performing that single opp than any expression equivalent.

As for mel scripts, you really wouldn't want to start getting into the habit of locking half the data so thread A can process it, whilst thread B handles the second half of the scene now would you? any calls like ls would break fairly quickly....

Last edited by Robert Bateman : 11 November 2005 at 12:32 AM.
  11 November 2005
I appreciate the fast reply. I guess I need to be looking at the api and C++ for a plug then
twitter | vimeo
  11 November 2005
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 05:41 PM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.