High Memory,Disk and CPU usage on WSM Server - Wyse WSM - Wyse Software - Dell Community

High Memory,Disk and CPU usage on WSM Server

High Memory,Disk and CPU usage on WSM Server

  • Question High Memory,Disk and CPU usage on WSM Server

    Hi,

    We have Core Server 8GB of RAM and Edge Server 0n 2008 OS,

    And SQL 2008 on WSM Core Server,

    We have 70 clients using Core Server,

    We found that the Memory, Disk and CPU usage on WSM Server very High,

    And clients Boot Time takes extremely long time up to 20min until the logon screen appears

    Can anyone help me!

    Thank You

  • WSM 5 Sizing and Planning Guide -> Search for MaxSystemCacheMBytes and read "Performance troubleshooting and OS Image optimization"

  • Talking

    Thank you for your reply

    but i found the MaxSystemCacheMBytes configured to 32 i don't know it's 32G or what and i don't know what is the recommended for this register value and i can't understand this point

    We found that some clients booting successfully and another takes extremely long time up to 20min until the logon screen appears,

    and another day the users takes normal time,

    i don't know what can i do ?!!

  • 1-99 = limit the maximum size of the System File Cache to this percentage of currently available RAM. If it is set to 32 this is the percetage of RAM used and is for example 32% of 8GB = ~2,6GB
    The default for 2-8GB of RAM is to use 75% of RAM if there is not MaxSystemCacheMBytes configured at all.
    Have a look at SetCache.log file under “<WSM Server install folder>\log” folder. This log file records the exact value system cache file size was set to.
    Try to increase the value up to 70 which would result in a max System File Cache of ~5,6GB.
    Monitor your network to find out if it is saturated with other traffic when WSM Clients boot slow.

  • I would also suggest looking at the processes that are running at startup within the streamed image and stop any unneeded processes from running. Sysinternals AutoRuns is a good utility that can help with tracking down all the processes / services running at startup. Certain programs, like Windows Defender and anti-malware can cause an enormous amount of data to be transferred between the client and server

  • Hi,

    till now we can't solve the problem
    and the users feels slow motion when the work

    thx

  • WSM 6.0.0 is changing the game as it is developed as true 64bit Application and hence don't have to cope with the memory limitation of 2GB for the OS Streaming Service. Still you should work to optimize your OS Image, but an upgrade on the Server Side (and of course the WSM Client in the OS Image) could get you some relief.
    For customers with active maintenance the new version will be available in the Self Service Portal shortly.

  • thank you for your reply

    but there is any thing to do to solve this problem now ?

    and is it a bug or what ?

    thx

  • WSM 6.0.0 has just been posted

    No, this is not a bug at all.
    If your OS Image is not well optimized this can result in long boot times because the amount of data which is transfered between the client and server and also eat up server ressources quickly.
    Please follow our suggestions above to find the root cause.

  • Hi,

    I configured this suggestion and configured the MAX size to 50 and the boot is OK but all users feels slow motion when the work

    thank you

  • and what about wsm v 6 there is any article about it

    thx

  • this is our setcache file

    ************** SetCache ****************

    05142013 [15:40:31:161] [4188] INFO: --- SETCACHE (64-BITS) ---
    05142013 [15:40:31:161] [4188] INFO: sizeof SIZE_T = 8
    05142013 [15:40:31:161] [4188] INFO: Registry path = "SOFTWARE\Wyse\WSM"
    05142013 [15:40:31:161] [4188] INFO: Called from 32-bit app, will use re-directed 32-bit registry
    05142013 [15:40:31:161] [4188] INFO: Current System File Cache size: Max[1099511627776 bytes (1048576 MB)] Min[1048576 bytes (1 MB)] Flag=

    05142013 [15:40:31:161] [4188] INFO: Total Physical Memory: 8191 Mbytes, Available: 6345 Mbytes
    05142013 [15:40:31:161] [4188] INFO: Reading from SOFTWARE\Wyse\WSM registry path "32-bit" >>
    05142013 [15:40:31:161] [4188] INFO: Fail to read MinSystemCacheMBytes value (2) or incorrect type (0)
    05142013 [15:40:31:161] [4188] INFO: Fail to read MaxSystemCacheMBytes (2) or incorrect type (0)
    05142013 [15:40:31:161] [4188] INFO: MinSystemCacheMBytes is not set, defaulting to physical ram 512 MBytes.
    05142013 [15:40:31:161] [4188] INFO: MaxSystemCacheMBytes is not set, default to physical memory 8191 * 75% = 6143 MBytes.
    05142013 [15:40:31:161] [4188] INFO:

    05142013 [15:40:31:161] [4188] INFO: LimitCache(Max: 6143MB, Min: 512MB)...
    05142013 [15:40:31:161] [4188] INFO: Current System File Cache size in bytes: Max[1099511627776 (1048576 MB)] Min[1048576 (1 MB)] Flag=
    05142013 [15:40:31:161] [4188] INFO: Setting the System File Cache in MB to: Max[6143] Min[512]
    05142013 [15:40:31:161] [4188] INFO: Updated System File Cache size: Max[6441402368 bytes (6143 MB)] Min[536870912 bytes (512 MB)] Flag=FILE_CACHE_MAX_HARD_ENABLE

    05142013 [15:57:17:951] [1100] INFO: --- SETCACHE (64-BITS) ---
    05142013 [15:57:17:951] [1100] INFO: sizeof SIZE_T = 8
    05142013 [15:57:17:951] [1100] INFO: Registry path = "SOFTWARE\Wyse\WSM"
    05142013 [15:57:17:952] [1100] INFO: Called from 32-bit app, will use re-directed 32-bit registry
    05142013 [15:57:17:952] [1100] INFO: Current System File Cache size: Max[6441402368 bytes (6143 MB)] Min[536870912 bytes (512 MB)] Flag=FILE_CACHE_MAX_HARD_ENABLE

    05142013 [15:57:17:954] [1100] INFO: Total Physical Memory: 8191 Mbytes, Available: 6510 Mbytes
    05142013 [15:57:17:954] [1100] INFO: Reading from SOFTWARE\Wyse\WSM registry path "32-bit" >>
    05142013 [15:57:17:954] [1100] INFO: Fail to read MinSystemCacheMBytes value (2) or incorrect type (0)
    05142013 [15:57:17:954] [1100] INFO: Fail to read MaxSystemCacheMBytes (2) or incorrect type (0)
    05142013 [15:57:17:954] [1100] INFO: MinSystemCacheMBytes is not set, defaulting to physical ram 512 MBytes.
    05142013 [15:57:17:954] [1100] INFO: MaxSystemCacheMBytes is not set, default to physical memory 8191 * 75% = 6143 MBytes.
    05142013 [15:57:17:954] [1100] INFO:

    05142013 [15:57:17:954] [1100] INFO: LimitCache(Max: 6143MB, Min: 512MB)...
    05142013 [15:57:17:954] [1100] INFO: Current System File Cache size in bytes: Max[6441402368 (6143 MB)] Min[536870912 (512 MB)] Flag=FILE_CACHE_MAX_HARD_ENABLE
    05142013 [15:57:17:954] [1100] INFO: Not updating the System File Cache limits because they are within 100 MB of the current setting
    05142013 [15:57:17:954] [1100] INFO: Updated System File Cache size: Max[6441402368 bytes (6143 MB)] Min[536870912 bytes (512 MB)] Flag=FILE_CACHE_MAX_HARD_ENABLE

    05142013 [16:09:06:606] [3640] INFO: --- SETCACHE (64-BITS) ---
    05142013 [16:09:06:606] [3640] INFO: sizeof SIZE_T = 8
    05142013 [16:09:06:606] [3640] INFO: Registry path = "SOFTWARE\Wyse\WSM"
    05142013 [16:09:06:606] [3640] INFO: Called from 32-bit app, will use re-directed 32-bit registry
    05142013 [16:09:06:606] [3640] INFO: Current System File Cache size: Max[6441402368 bytes (6143 MB)] Min[536870912 bytes (512 MB)] Flag=FILE_CACHE_MAX_HARD_ENABLE

    05142013 [16:09:06:606] [3640] INFO: Total Physical Memory: 8191 Mbytes, Available: 6521 Mbytes
    05142013 [16:09:06:606] [3640] INFO: Reading from SOFTWARE\Wyse\WSM registry path "32-bit" >>
    05142013 [16:09:06:606] [3640] INFO: Fail to read MinSystemCacheMBytes value (2) or incorrect type (0)
    05142013 [16:09:06:606] [3640] INFO: Fail to read MaxSystemCacheMBytes (2) or incorrect type (0)
    05142013 [16:09:06:606] [3640] INFO: MinSystemCacheMBytes is not set, defaulting to physical ram 512 MBytes.
    05142013 [16:09:06:606] [3640] INFO: MaxSystemCacheMBytes is not set, default to physical memory 8191 * 75% = 6143 MBytes.
    05142013 [16:09:06:606] [3640] INFO:

    05142013 [16:09:06:606] [3640] INFO: LimitCache(Max: 6143MB, Min: 512MB)...
    05142013 [16:09:06:606] [3640] INFO: Current System File Cache size in bytes: Max[6441402368 (6143 MB)] Min[536870912 (512 MB)] Flag=FILE_CACHE_MAX_HARD_ENABLE
    05142013 [16:09:06:606] [3640] INFO: Not updating the System File Cache limits because they are within 100 MB of the current setting
    05142013 [16:09:06:606] [3640] INFO: Updated System File Cache size: Max[6441402368 bytes (6143 MB)] Min[536870912 bytes (512 MB)] Flag=FILE_CACHE_MAX_HARD_ENABLE

    05142013 [16:10:45:107] [3444] INFO: --- SETCACHE (64-BITS) ---
    05142013 [16:10:45:107] [3444] INFO: sizeof SIZE_T = 8
    05142013 [16:10:45:107] [3444] INFO: Registry path = "SOFTWARE\Wyse\WSM"
    05142013 [16:10:45:107] [3444] INFO: Called from 32-bit app, will use re-directed 32-bit registry
    05142013 [16:10:45:107] [3444] INFO: Current System File Cache size: Max[6441402368 bytes (6143 MB)] Min[536870912 bytes (512 MB)] Flag=FILE_CACHE_MAX_HARD_ENABLE

    05142013 [16:10:45:107] [3444] INFO: Total Physical Memory: 8191 Mbytes, Available: 6480 Mbytes
    05142013 [16:10:45:107] [3444] INFO: Reading from SOFTWARE\Wyse\WSM registry path "32-bit" >>
    05142013 [16:10:45:107] [3444] INFO: Fail to read MinSystemCacheMBytes value (2) or incorrect type (0)
    05142013 [16:10:45:107] [3444] INFO: Fail to read MaxSystemCacheMBytes (2) or incorrect type (0)
    05142013 [16:10:45:107] [3444] INFO: MinSystemCacheMBytes is not set, defaulting to physical ram 512 MBytes.
    05142013 [16:10:45:107] [3444] INFO: MaxSystemCacheMBytes is not set, default to physical memory 8191 * 75% = 6143 MBytes.
    05142013 [16:10:45:107] [3444] INFO:

    05142013 [16:10:45:107] [3444] INFO: LimitCache(Max: 6143MB, Min: 512MB)...
    05142013 [16:10:45:107] [3444] INFO: Current System File Cache size in bytes: Max[6441402368 (6143 MB)] Min[536870912 (512 MB)] Flag=FILE_CACHE_MAX_HARD_ENABLE
    05142013 [16:10:45:107] [3444] INFO: Not updating the System File Cache limits because they are within 100 MB of the current setting
    05142013 [16:10:45:107] [3444] INFO: Updated System File Cache size: Max[6441402368 bytes (6143 MB)] Min[536870912 bytes (512 MB)] Flag=FILE_CACHE_MAX_HARD_ENABLE

    05142013 [20:18:10:746] [3048] INFO: --- SETCACHE (64-BITS) ---
    05142013 [20:18:10:754] [3048] INFO: sizeof SIZE_T = 8
    05142013 [20:18:10:754] [3048] INFO: Registry path = "SOFTWARE\Wyse\WSM"
    05142013 [20:18:10:754] [3048] INFO: Called from 32-bit app, will use re-directed 32-bit registry
    05142013 [20:18:10:754] [3048] INFO: Current System File Cache size: Max[1099511627776 bytes (1048576 MB)] Min[1048576 bytes (1 MB)] Flag=

    05142013 [20:18:10:756] [3048] INFO: Total Physical Memory: 8191 Mbytes, Available: 6885 Mbytes
    05142013 [20:18:10:756] [3048] INFO: Reading from SOFTWARE\Wyse\WSM registry path "32-bit" >>
    05142013 [20:18:10:756] [3048] INFO: Fail to read MinSystemCacheMBytes value (2) or incorrect type (0)
    05142013 [20:18:10:756] [3048] INFO: Fail to read MaxSystemCacheMBytes (2) or incorrect type (0)
    05142013 [20:18:10:756] [3048] INFO: MinSystemCacheMBytes is not set, defaulting to physical ram 512 MBytes.
    05142013 [20:18:10:756] [3048] INFO: MaxSystemCacheMBytes is not set, default to physical memory 8191 * 75% = 6143 MBytes.
    05142013 [20:18:10:756] [3048] INFO:

    05142013 [20:18:10:756] [3048] INFO: LimitCache(Max: 6143MB, Min: 512MB)...
    05142013 [20:18:10:756] [3048] INFO: Current System File Cache size in bytes: Max[1099511627776 (1048576 MB)] Min[1048576 (1 MB)] Flag=
    05142013 [20:18:10:756] [3048] INFO: Setting the System File Cache in MB to: Max[6143] Min[512]
    05142013 [20:18:10:756] [3048] INFO: Updated System File Cache size: Max[6441402368 bytes (6143 MB)] Min[536870912 bytes (512 MB)] Flag=FILE_CACHE_MAX_HARD_ENABLE

    06192013 [11:37:16:460] [5416] INFO: --- SETCACHE (64-BITS) ---
    06192013 [11:37:16:491] [5416] INFO: sizeof SIZE_T = 8
    06192013 [11:37:16:491] [5416] INFO: Registry path = "SOFTWARE\Wyse\WSM"
    06192013 [11:37:16:491] [5416] INFO: Called from 32-bit app, will use re-directed 32-bit registry
    06192013 [11:37:16:491] [5416] INFO: Current System File Cache size: Max[6441402368 bytes (6143 MB)] Min[536870912 bytes (512 MB)] Flag=FILE_CACHE_MAX_HARD_ENABLE

  • 06192013 [11:37:16:491] [5416] INFO: Total Physical Memory: 8191 Mbytes, Available: 409 Mbytes
    06192013 [11:37:16:491] [5416] INFO: Reading from SOFTWARE\Wyse\WSM registry path "32-bit" >>
    06192013 [11:37:16:491] [5416] INFO: Fail to read MinSystemCacheMBytes value (2) or incorrect type (0)
    06192013 [11:37:16:491] [5416] INFO: MaxSystemCacheMBytes reg value size = 4
    06192013 [11:37:16:491] [5416] INFO: MaxSystemCacheMBytes: 80% of physical memory = 6553 Mbytes
    06192013 [11:37:16:491] [5416] INFO: MinSystemCacheMBytes is not set, defaulting to physical ram 512 MBytes.
    06192013 [11:37:16:491] [5416] INFO: 

    06192013 [11:37:16:491] [5416] INFO: LimitCache(Max: 6553MB, Min: 512MB)...
    06192013 [11:37:16:491] [5416] INFO: Current System File Cache size in bytes: Max[6441402368 (6143 MB)] Min[536870912 (512 MB)] Flag=FILE_CACHE_MAX_HARD_ENABLE 
    06192013 [11:37:16:491] [5416] INFO: Setting the System File Cache in MB to: Max[6553] Min[512]
    06192013 [11:37:16:491] [5416] INFO: Updated System File Cache size: Max[6871318528 bytes (6553 MB)] Min[536870912 bytes (512 MB)] Flag=FILE_CACHE_MAX_HARD_ENABLE 

    07152013 [18:36:53:588] [4764] INFO: --- SETCACHE (64-BITS) ---
    07152013 [18:36:53:604] [4764] INFO: sizeof SIZE_T = 8
    07152013 [18:36:53:604] [4764] INFO: Registry path = "SOFTWARE\Wyse\WSM"
    07152013 [18:36:53:604] [4764] INFO: Called from 32-bit app, will use re-directed 32-bit registry
    07152013 [18:36:53:604] [4764] INFO: Current System File Cache size: Max[1099511627776 bytes (1048576 MB)] Min[1048576 bytes (1 MB)] Flag=

    07152013 [18:36:53:604] [4764] INFO: Total Physical Memory: 8191 Mbytes, Available: 6763 Mbytes
    07152013 [18:36:53:604] [4764] INFO: Reading from SOFTWARE\Wyse\WSM registry path "32-bit" >>
    07152013 [18:36:53:604] [4764] INFO: Fail to read MinSystemCacheMBytes value (2) or incorrect type (0)
    07152013 [18:36:53:604] [4764] INFO: MaxSystemCacheMBytes reg value size = 4
    07152013 [18:36:53:604] [4764] INFO: MaxSystemCacheMBytes: 80% of physical memory = 6553 Mbytes
    07152013 [18:36:53:604] [4764] INFO: MinSystemCacheMBytes is not set, defaulting to physical ram 512 MBytes.
    07152013 [18:36:53:604] [4764] INFO: 

    07152013 [18:36:53:604] [4764] INFO: LimitCache(Max: 6553MB, Min: 512MB)...
    07152013 [18:36:53:604] [4764] INFO: Current System File Cache size in bytes: Max[1099511627776 (1048576 MB)] Min[1048576 (1 MB)] Flag=
    07152013 [18:36:53:604] [4764] INFO: Setting the System File Cache in MB to: Max[6553] Min[512]
    07152013 [18:36:53:604] [4764] INFO: Updated System File Cache size: Max[6871318528 bytes (6553 MB)] Min[536870912 bytes (512 MB)] Flag=FILE_CACHE_MAX_HARD_ENABLE

  • Looking at the log file above, the "MaxSystemCacheMBytes reg value size = 4" and not 50 as you wrote in your post before.
    1) Your Server has "Total Physical Memory: 8191 Mbytes, Available: 6763 Mbytes".
    2) Because there are no settings in place how large the File System Cache can get, WSM sets this with the defaults: MaxSystemCacheMBytes: 80% of physical memory = 6553 Mbytes
    If your system has "Available: 6763 Mbytes" and Cache can get 6553 Mbytes, there's little memory left for anything else, do you agree?
    Check if your server is swapping a lot to page file and if yes, try to either add more memory or set MaxSystemCacheMBytes to 4000 for example, so it is only using 4000MB for caching.

  • thank you for your help

    i configured the value to 50 

    and i found that there is not enough memory like the image all of the memory consumed

    i configured the MaxSystemCacheMBytes to 4000 (decimal) instead of 50 and i will monitoring the performance,

    there is any thing else to do ?

    thank you