AWS Thinkbox Discussion Forums

smtd startup time

Hey guys,

starting smtd in a remote office takes a couple of minutes right now:

SMTD_AutoLoadSuccessful = true
Loading RegionManipulator.ms: 169ms
Loading TileManipulator.ms: 68ms
Loading SubmitMaxToDeadline_Functions.ms: 448ms
Loading SubmitMaxToDeadline_SanityCheck_Private.ms: 72ms
Loading SubmitMaxToDeadline_SanityCheck_General.ms: 70ms
Loading SubmitMaxToDeadline_SanityCheck.ms: 68ms
Loading SubmitMaxToDeadline.ms: 69ms
Total SMTD Launcher Time: 175747ms

Any ideas if this can be sped up somehow?

cheers,
laszlo

Since we debugged this offline, here is what we found for anyone interested:

*The SMTD defaults and sticky settings are being loaded from two global INI files located in the Repository\Submission\3dsMax\Main folder.
*When the Repository is on a remote server, the access to these INI files can be very slow, esp. if the network is optimized for large files (e.g. image files).
*The obvious solution would be to copy the two INI files together with all the script files which are already being copied locally to speed up the start up of SMTD, and then parse the values from these local copies.

This fix will be in Deadline 6.1.
If anyone else is experiencing this problem, please let us know and we will show you how to fix it or will fix it for you in your 6.0 files.

Hi Bobo,

Interesting. Just throwing in some passing comments here… :slight_smile:

I assume you will be adding these INI files to the local disk caching SMTD code and therefore if either of these INI files are updated server side, then upon re-launch of SMTD they will be copied back down again?

Also, just for consistency, I would include the other INI files to be cached locally as well?

“SubmitMaxToDeadline_CommentFormats.ini”
“SubmitMaxToDeadline_NameFormats.ini”

Thoughts?
Mike

Exactly what you said :slight_smile:

The only drawback is that the Client-side script has to be updated again on all workstations since part of the change is in the list of files to copy over.

Cool. As this will mean all clients updating their client side script again, I’m thinking this would be a good reason to get Ryan to update the “Submission Scripts” py menu UI, to help users easily re-deploy the client side script when v6.x comes out in the future? (Ryan never got round to updating this py tool before v6.0 launch)

Alternatively, I was thinking the other day, it would be good if the client side script could somehow be decoupled and therefore have the ability to auto-update itself? ie: distil the absolute minimum MXS code in the MCR file (‘never’ needs updating), which in turn when executed within the 3dsMaX GUI environment, it pulls in a file which critically is referenced from the repository? Then on the odd occasion, when the MCR is updated (a few times over the years IIRC), then it won’t be such a big deal…? Effectively, Yes, I’m describing the already in place local caching system!..I’m just writing out loud if there is a better way that should be explored to try and avoid the client side script having to be touched…?

I had the same thoughts last night.
It is a bit of a problem because the file that you are running is not the same file that is in the Repository, it is an MCR copy unser #usermacros created by Max. I have to make sure it is actually identical in size, because the date would not be an useful check for this kind of update.

I have some ideas, but I see a lot of question marks on the way. And with Siggraph coming fast, I’d rather not concentrate on this problem right now…

No worries. Definitely one to re-visit when you have time. I’m sure Siggraph features/announcements are more important :slight_smile:

Announcement, especially for you:

twitter.com/thinkboxsoft/status … 20/photo/1

Thanks for the troubleshooting session last night Bobo, ill be implementing the discussed changes this morning!

cheers,
l

Glory!

Total SMTD Launcher Time: 8210ms

LoL!
(Not just for me…my money is on this being a big winner for 3dsMax users…proof is in the pudding as they say :slight_smile:)

Privacy | Site terms | Cookie preferences