Sunday, February 8, 2009

[THIN] Re: Citrix Memory Management

Hi Andrew,
 
Citrix have put next to no effort into upgrading the capabilities of the memory optimization stuff since they OEMed it from RTOSoft. So what you've got is what there is. If you have a look at where the product is now with RTOsoft TScale (http://www.rtosoft.com/Products/TScale/TScale.htm) it's advanced quite significantly.
 
Unfortunately the very act of backing up and restoring the file system will get rid of the rebased DLLs since they are alternate data streams (ADS) linkied to the parent DLLs. So the only easy way to retain the ADS files is to clone and sysprep or newsid the server.
 
You can't really force the optimization because what suits one server won't suit another with a slightly different application suite. 
 
A simple description of the DLL optimization is a 3 stage process:
 
1. monitor dlls to see the optimal rebased load address
2. modify DLLs and link modifed DLLS to original as ADS
3. If the DLL has a rebased ADS DLL and it's not in the exclusion list load it instead of the original DLL

The optimal load address may vary depending on what is already there so I wouldn't recommend it unless you've got a bunch of identical servers. In which case cloning would be easier and faster anyway :-)
 
regards,
 
Rick
 
--
Ulrich Mack
Quest Software
Provision Networks Division
 
On Tue, Feb 3, 2009 at 4:43 AM, Andrew Wood <andrew.wood@gilwood-cs.co.uk> wrote:

All,

 

Is it possible to backup/restore the memory management settings do you know?

 

When you enable the memory management optimisation in 4/4.5 etc a log is created of the apps loaded, from which the memory optimisation takes place at an appropriate interval.

 

If you rebuild a machine this is effectively 'lost' – would simply backing up and restoring the files, then forcing an update on reboot work... does anyone know/have experience of?

 

And finally – if I did want to script that "force an update" bit, anyone know how?

 

Save me some work tomorrow and of course, if I ever see you, the beer is on me.

 

Ta muchly...

 

 

Andrew

 

 

Gilwood CS Ltd

Registered Office :  3 Cedars Crescent, Sunderland, UK, SR2 7SY. No. 6099397 England

 




No comments: