Für alle, die noch ein bisschen mehr Tempo aus ihrem PNA herausholen
wollen: hier ein paar Registry-Tweaks, gepackt in eine MortScript-
Routine.
Falls dieses Progrämmchen ausgeführt wird, danach 10 Sekunden warten,
und dann Soft-Reset!
#######################################################################
#
# MY_CE_TWEAKS.mscr
#
# Author: jwoegerbauer
# Date: 2009-08-29
#
# Abstract: Increase Performance and Speed Boost Windows CE 5
# performance up to 20 percent
#
# This script is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This script is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this script; if not, see http://www.gnu.org/licenses/
#
#
ErrorLevel("off")
Local()
#
########################################################################
#
# 1.
# Increase font cache
#
# To increase the font cache, speeding up font rendering at the cost
# of a bit of memory:
# HKLM\SYSTEM\GDI\GLYPHCACHE\limit = 16384 (DWORD decimal)
#
RegWriteDword("HKLM", "SYSTEM\GDI\GLYPHCACHE", "limit", 16384)
Sleep 100
#
# To change it back to the default:
# HKLM\SYSTEM\GDI\GLYPHCACHE\limit = 8192 (DWORD decimal)
# You can set the value to pretty much anything you like, but suggested
# values are 4096, 8192, 16384 & 32768.
#
########################################################################
#
# 2.
# Enable FileSystem cache
#
# To enable the FileSystem cache, speeding up overall performance at the
# risk of the cache not being written on a sudden reset:
# HKLM\System\StorageManager\FATFS\EnableCache = 1 (DWORD decimal)
#
RegWriteDword("HKLM", "System\StorageManager\FATFS", "EnableCache", 1)
Sleep 100
#
# To disable again:
# HKLM\System\StorageManager\FATFS\EnableCache = 0 (DWORD decimal)
# Note that by default, the cache size is zero, and you will see no effect.
# See "Increase FileSystem cache" below to increase the cache size.
#
#########################################################################
#
# 3.
# Increase FileSystem cache
#
# To increase the file system cache:
# HKLM\System\StorageManager\FATFS\CacheSize = 4096 (DWORD decimal)
#
RegWriteDword("HKLM", "System\StorageManager\FATFS", "CacheSize", 4096)
Sleep 100
#
# To return the file system cache to zero:
# HKLM\System\StorageManager\FATFS\CacheSize = 0 (DWORD decimal)
# You can set the value to pretty much anything you like.
#
########################################################################
#
# 4.
# Increase FileSystem filter cache
#
# To enable the file system filter cache, speeding up overall performance
# with file mangement:
# HKLM\System\StorageManager\Filters\fsreplxfilt\ReplStoreCacheSize =
# 4096 (DWORD decimal)
#
RegWriteDword("HKLM", "System\StorageManager\Filters\fsreplxfilt", \
"ReplStoreCacheSize", 4096)
Sleep 100
#
# To return the file system filter cache to zero:
# HKLM\System\StorageManager\Filters\fsreplxfilt\ReplStoreCacheSize =
# 0 (DWORD decimal)
# You can set the value to pretty much anything you like.
#
########################################################################
#
Exit
#
########################################################################