CCBoot Manual - Performance Optimization
CCBoot Manual - Performance Optimization
User Manual
Youngzsoft 2019
Performance Optimization
Enable AHCI in the Server BIOS
2014/08/19 12:03
Opening the AHCI function can improve the writing performance of the disk of the server.
For details, please refer to the "Server Hardware Requirements". The following are the
methods of opening AHCI function.
1) In the process of starting up the computer, keep pressing the "Delete" button of the
keyboard, enter the "BIOS" setting.
2) Find the SATA interface setting option, change the "IDE" mode to "AHCI" mode; press
the "F10" to save and exit (Figure 1‑1).
Figure 1‑1
Notes: Because the BIOS versions of the main board are not the same, the positions of the
"SATA interface" options are different. Recommend you can read the main board manual,
and then modify the BIOS.
If the server has installed the operation system, you can set the AHCI mode in the BIOS, it
will lead to the blue screen of death. The solution is as follows:
3) Click the "Start" button, enter "regedit" in the "Run" edition box, and click the "Enter"
button.
Figure 1‑2
6) It will pop up "Edit DWORD Value" dialogue box, enter "0" in the "Value data" edition box,
and then click the "OK" button (Figure 1‑3).
Figure 1‑3
2014/08/25 15:50
When the diskless client booted to the Windows 7 logo (the flower), it will hang on for long
time. At the same time, the server shows that the client read data stopped at about 40-42M.
1) Download win7-boot-speed.zip
http://www.ccboot.com/download/win7-boot-speed.zip
3) Extract the zip file and run the reg file on the client.
Notes: This method is not always successful. If client failed to boot after doing this settings,
please recover image, and try other optimization methods. Here is a wiki about
Client WIN7 System Optimization and a video about How to Optimize Win7 for Better
Performance.
1) Click the "Start" -> "Control Panel" -> "Network and Internet" -> "Network and Sharing
Center" ->"Local Area Connection".
2) In the pop-up "Local Area Connection Status" dialogue box, click the "Properties" button
(Figure 1‑1).
Figure 1‑1
3) In the pop-up "Local Area Connection Properties" dialogue box, only retain the "Client for
Microsoft Networks" and "Internet Protocol Version 4(TCP/IPv4)", and uninstall other
services and protocols (Figure 1‑2).
Figure 1‑2
4) In the "Local Area Connection Properties" dialogue box, click the "Configure" button
(Figure 1‑3).
Figure 1‑3
5) In the pop-up dialogue box, select the "Advanced" tab, close the function of EEE, WOL,
Green Ethernet, Jumbo frame, Offloadlargesend, Flow Control, OffloadChksum,
automatically shut down the PCIe, and automatically shut down the PHY (Figure 1‑4).
Figure 1‑4
6) Choose "connection speed and duplex mode" to "automatic inspection". Please refer to
the following form for detailed settings.
Jumboframe Recommend
closing
FlowControl Recommend
closing
Offloadlargesend Recommend
closing
GreenEthernet Recommend
closing
OffloadChksum Recommend
closing
FlowControl Recommend
closing
AdaptiveIFS Recommend
closing
InterrupthrootleRate Recommend
closing
Jumbopacket Recommend
closing
We have created a video - "NIC Optimization" (start from about 05:44).
Note: It's enough to just disable flow control in NIC properties. But depending on the
requirement you can disable other options as mentioned above.
Note: Most of the modifications of network card properties are under the circumstance of
diskless. If you can't modify the information in diskless situation, please try to modify with
disks being attached. Besides, if you failed to disable flow control on the client side even
with Super Client on Device Manager, we recommend modifying before uploading image. If
you have multiple specs, you need to modify every network adapter before uploading
image. If the network adapter type is the same, just need to disable the flow control once.
If you have more than 1 NIC on the server, we recommend teaming them so you will get the
maximum throughput from your server to clients. When teaming choose "Adaptive Load
Balancing" to use all available network bandwidth.
1. Virtual Memory Optimization
Right-click the "Computer", select "Properties".
In the pop-up "System" window, click "Advanced system settings".
Figure 10-1
In the pop-up "System Properties" dialogue box, click "Advanced" tab, in the "Performance"
group, click the "Setting" button.
Figure 10-2
In the pop-up "Performance Options" dialogue box, click "Advanced" tab, and then click
"Change" button.
Figure 10-3
In the pop-up "Virtual Memory" dialogue box, uncheck the "Automatically manage paging file
size for all drives" Check box, and then click "OK" button.
Figure 10-4
Figure 10-3
Click "Change advanced power settings".
Figure 10-4
In the pop-up "Power Options" dialogue box, set "Require a password on wakeup" to "No"; set
the "Turn off hard disk after" to "Never". Set the "Slide show" to "Paused".
Figure 10-5
Set the "Sleep after" to "Never"; ser "Allow wake timers" to "Disable".
Figure 10-6
"Processor power management" is set to the default value.
Figure 10-7
Set the "Turn off display after" to "Never"; "Multimedia settings" is set to the default value; and
then click "OK" button.
Figure 10-8
3. Optimize Client System Restore Point
Right-click "Computer", select "Properties".
In the pop-up "System" window, click "Advanced system settings".
Figure 10-5
In the "System Properties" dialogue box, click "Configure" button, and the click "System
Protection" tab.
Figure 10-2
In the pop-up "System Protection for WIN7" dialogue box, select the "Turn off system protection"
button; click the "Max Usage" slider, drag to the left; the disk space usage is set to the lowest;
then click "Delete" button, delete the recovery point, then click "OK " button.
Figure 10-3
4. Client System Patches Installation
Operation steps:
Click "Start", in the "Run" edition box, enters "services.msc", and press Enter key.
In the pop-up "Service" window, double-click "Windows Update" service.
Figure 10-1
It will pop-up "Windows Update Properties" dialogue box, in the "Startup type" combo box,
select "Manual", then click "Apply" button; Then click "start " button, start the service.
Figure 10-2
Click "Start" -> "Control Panel" -> "Windows Update", check for updates, and install the update.
Figure 10-3
5. Client Services Optimization
The function below is available on CCBoot version 20180506 and above only.
1. Boot a client in super client mode and then open CCBootClient application.
3. On the "Additional Option" window, check the "System Optimization" checkbox, then click
"OK" button (Figure 1).
Figure 1
4. CCBoot will optimize the Windows automatically, After the process is complete, turn off
the client PC and save the image.
Note: The above steps is better to perform before uploading the image.
This feature will disable some services like Windows Updates, Defragmentation, Windows
Defender and other services which are not needed for the normal gaming PC.
Figure 10-1
In the pop-up "User Account Control Settings" dialogue box, drag the slider down to set the UAC
value for "Never notify."
Figure 10-2
The reason for disabling UAC is to prevent windows from prompting to run any applications.
Every time you run an application, UAC will open and prompt whether to run the application
or not.
So disabling UAC will disable this behaviour and allow you to run your application without
any confirmation prompts.
Figure 10-1
After the successful operation, close the client PC101.
On the CCBoot of the server, uncheck "super user".
Except "Client for Microsoft Network" and "Internet Protocol Version 4 (TCP/IPv4)", you
Note: if you need file sharing in your network then do not uninstall "File and Printer
Figure 1
Checksum Offload", "UDP Checksum Offload", "Flow Control" and "Energy Efficient
Ethernet".
Figure 2
Note: The options may be different in different NICs but overall can be similar to above.
You can also try setting "Speed & Duplex" option to "1.0 Gbps full duplex", make sure
2. Registry Optimization
2.1 Accelerate the startup and shutdown speed
Click the "Start" button, Run edit box, type "regedit" and press "Enter" on the keyboard keys.
In the Registry Editor window, expand "HKEY_CURRENT_USER \ Control Panel \ Deskto"
change the "HungAppTimeout" value "200", and then change the value data
"WaitToKillAppTimeout" "1000".
Expand the "HKEY_LOCAL_MACHINE \ System \ CurrentControlSet \ Control", change the
value data "HungAppTimeout" "200", then change the value data "WaitToKillServiceTimeout"
"1000".
Use Microsoft Bootvis.exe optimization startup speed. To Microsoft's official website to
download bootVis.exe, running after decompression bootvis.exe, then select Trace under the
next boot and driver delays, XP will restart the process, and record start data into a BIN file.
Open this file "file \ open directory Trace election Optimize system under this optimization,
please be patient.
2.3 make good use of CPU L2 Cache to speed up the overall performance
Click the Start button, Run edit box, type "regedit" and press "Enter" on the keyboard keys.
In the Registry Editor window, expand "HKEY_LOCAL_MACHINE \ SYSTEM \
CurrentControlSet \ Contro \ SessionManager \ MemoryManagement"
"SecondLevelDataCache" Change the value data with the same CPU L2 Cache decimal value.
P4 1.6G L2 Cache is 256Kb, P4 1.6GA 512Kb L2 Cache, readers can query the network on the
CPU L2 Cache information.
6. NIC Settings
The close client NIC flow control, jumbo frames.
Such as Realtek NIC recommended a full range of settings:
Flow control must be shut down;
Giant frame advised to turn off;
Hardware efficacy and must be shut down;
Large Send burdens advised to turn off;
Environmental protection and energy saving advised to turn off.
8. Other Settings
Click the "Start" button in the edit box of "Run" enter "compmgmt.msc". Open the IDE ATA /
ATAPI controllers. The conversion of non-automatic detection of the primary IDE channel and
secondary IDE channel properties advanced settings inside.
To change the virtual memory to "System Management".
Delete the system useless files, delete system backup files: Click "Start" button in the "Run" edit
box, enter "sfc.exe in the the / purgecache"; delete drive backup \ driver cache \ i386 directory of
the driver cab file, which can reduce the capacity of the package.
2. Close Sleep
Run as administrator command prompt, manually enter "powercfg-h off, sleep mode is turned
off, the the C disk hibernation file will be deleted.
6. Desktop Icon
WIN7 desktop IE icon, copy the following REG file, you can import
Windows Registry Editor Version 5.00
HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Explorer \
Desktop \ NameSpace \ {00000000-0000-0000-0000-100000000001}
@ = "Internet Explorer"
7. Virtual Memory
"Virtual Memory" dialog box, uncheck the "Automatically manage paging file size for all drives"
check box and click the "OK" button (Figure 1-1).
Figure 1-1
9. UAC Settings
UAC settings: a detailed reference to the UAC Setup ".
6. Network Optimization
Network -> Properties -> Uninstall all but keep "Client for Microsoft Networks", "File and Printer
Sharing for Microsoft Networks", "IPv6", "IPv4". Uncheck IPv6.
Figure 1-1
In the pop up "Performance Options" dialog box, click the "Advanced" tab, and then click the
"Change" button.
In the pop up "Virtual Memory" dialog box, uncheck the "Automatically manage paging file size
for all drives" check box, and click Drive C, then select the "System managed size" radio button
and click the "Set" button. Finally, click the "OK" button (Figure 1-2).
Figure 1-2
13. Server Optimization
Enable AHCI in the Server BIOS
http://www.ccboot.com/wiki-server-bios-sata-configuration.htm
Figure 1
If the "Idle (%)" value of the Write-back disk is too low (below or around 10%) for more than
20 seconds, then our write-back disk has problems. You need to optimize it immediately.
[Note: If "Idle (%)" value of Image Disk, Game Disk is low as well, it may be the disk cache
is not set properly, for setting cache properly, please refer to "Disk Management".]
2) When you have more than 20/30 computers then one write-back disk is not enough. We
recommend using two or more write-back disks.
a. If you have multiple disk for writeback disk then check if they are set in the CCBoot Disk
Manager or not. If they are not set then set it (Figure 2).
Figure 2
b. Above, one of the disk is not set as writeback disk so, set the disk as writeback disk.
Please refer to "Disk Management" (Figure 3).
Figure 3
3) If you already have 2 writeback disk and still your clients are lagging then, increase your
writeback disk cache. (1024 – 3072 MB is recommended cache per Writeback disk)
4) We recommend using SSD for writeback disk, as it has higher read/write speed and can
handle large number of read/writes compared to traditional HDD.
5) If you already have SSD on each PC then you can use it as local writeback disk so that it
will improve performance.
6) When you choose disc for writeback look at IOPS for random write, it should be at least
80K-90K.
For example, we recommend SSD Samsung EVO 850 (or EVO 860) for writeback because
it has IOPS up to 90K for randomly write.
IOPS for random write is one of the main performance indicators of SSD for diskless
systems, since one disk is simultaneously used by several clients and they write (and read)
data from different parts of the disk at the same time. i.e. the more operations per second
can make the SDD the higher the data rate.
7) Check whether there is any program which is doing a lot of read/write on the disk. If there
is, you need to find it and then stop its service.
For details, please refer to "Find Large Write-back Speed Program". If you are using
Windows 7, check whether it is installed with the latest patches. If not, please install the
latest patches in your Windows 7.
8) Your clients may have idle time disk defragmentation scheduled and running when pc
becomes idle.
To fix this, you need to do the delete the scheduled task in client PC in super client mode.
This will delete the defragmentation schedule and help elevate the writeback idle issue
CCBoot Client reading data from the server does not cause a lot of read/write pressure on the diskless
server and you can see this from charts and Image disk will have high Cache hit rate. The pressure on
2) Clients temporary files, processing and downloading also causes pressure on server disks
1) CCBoot clients with Client Cache enabled can greatly reduce these pressures, For client with 2GB
memory, cache can be set to 512M, client with 1GB memory, cache can be set to 128-256M (We
recommend client have at least 2GB of memory as 1GB of RAM is not enough to cache and run Windows
2) CCBoot support multiple disks as write-back, hence using more than one writeback has lot of benefits,
such as: if one writeback disk fails client will continue to work and use the working disk as writeback disk.
Similarly, two writeback disk will be able to handle more writebacks from the client. Normally, a SATA
hard drive can support up 20 clients writebacks with sufficient writeback cache.
3) We recommend using SSD disk for writeback disk as its is able to handle large read/writes compared
to normal SATA Harddisk. It also give your client more performance as it will be able to read/write at
4) The disk configuration you use for game disk also impacts the server load. And using cache you can
reduce much load from the game disk. We recommend setting up 2 HDD in RAID 0 and set large memory
cache, it will now only improve the read speed, it will also lessen the time for the client to load the games.
Paired with our SSD Cache technology games on client load even faster compared to traditional HDD.
Easiest way to determine disk overload is to monitor the performance of the writeback disk and Game
disk on CCBoot Server, Disk manager. If the idle (%) of either disk is less than 30% for long period of time
then its overloaded. (So consider adding another writeback disk) (Figure 1).
Figure 1
In short, read and writes of the clients determine the pressure on server disk. Hence, its better to have
two disk if your writeback disk is overloaded. Similarly, you need to set sufficient RAM Cache for disks so
read/writes can be caches. Also if you client have 2GB RAM then set client cache to 512MB so client will
cache read/write data and still have RAM to play normal games. This way you offload some of client
2017/08/23 14:13
A lot of time client performance depend on Server performance. So, let see how we can
optimize CCBoot server to the optimal settings.
One the server, it is recommended that you do not use partitions for use as any disk type
(image/write/game/SSD). When you use partitions instead of independent disk, the
performance of the disk will slow as more reads/writes are done. So using partitions as disk
in CCBoot will lower performance for the client as well as server. Hence, we recommend
you to use independent disk for each disk types
2. Game Disk
Game disk/s have the highest reads when clients are playing games. So, if you have disk
with higher read speeds then client’s game will load faster. To get more speed from Game
disks, you can set them up in RAID 0 configuration. In Raid 0 configuration the effective disk
speed will double compared to single disk. In doing so, clients game will load faster and
give more performance.
3. Writeback Disk
When clients are running, writeback disk holds all the clients write data and more number of
clients mean more writes on the server writeback disk. If you have less number of client
10-20 then a single writeback disk with 2048 MB RAM cache is enough but if you have
more then we recommend adding another writeback disk to balance the writes of the
clients. Also using traditional HDD will not give you much performance so we recommend
using SSD disk for writeback disk
Note: All the disks need to be formatted NTFS 32K allocation for best performance for
disks.
In diskless solution, NIC play the most vital role. All the data, game files are sent from
Server to client via the NIC. So having more give you more bandwidth for use by clients.
Typically a single 1 G NIC is able to support 20+ computers with normal usage, however for
gaming centers and cafes, 1 Gbps bandwidth becomes a bottleneck for performance. So,
we recommend using more than 1 NIC in the server to provide multiple connection to
server. Nowadays, Quad port NIC adapter have become rather inexpensive and is most
widely used by Gaming centers. CCBoot’s support for load balance make it idle for
deploying 100+ computers using a single computer with multiple NIC.
5. RAM
One of the most important component for CCBoot is RAM. CCBoot uses RAM for caching
on the server which increases clients read write speed. Not only that CCBoot uses RAM of
client to cache client’s read write to further increase client’s performance. So, for CCBoot
server that is supporting 20 or more client 16 -32 GB RAM is needed likewise for 50+ clients
32 – 64 GB RAM is recommended.
6. Cache Settings
Now, after all the components are the right ones, and client are booted diskless. Cache
settings in server comes to play. Cache settings if set optimal will give your cafe leap in
performance.
Below are some of the guideline you can follow to set the caching just right.
For every image that you use, set 2048 MB cache for image disk. Hence, if you have 2
images that you use to boot client then set image disk cache to 2 x 2048 = 4096 MB
One writeback disk is enough for up to 20 clients and if you have more clients, it is
recommended that you use two writeback disks. Also, using SSD for writeback disk gives
you more performance than traditional HDD. So, if you have 1 writeback disk then set cache
to 2048 MB, however if you have more than 1 writeback disk then based on you server
RAM size, you can set 1024 to 2048 MB cache for each writeback disk based on available
RAM in the server.
As mentioned above, having RAID 0 setup for game disk will give you much better game
load time on client. And paired with RAM Cache it will be optimal. Setting cache for Game
disk depends on you server RAM size. You also need to keep in mind that you leave at
least 2 – 4 GB RAM for OS usage. After that you can set remaining RAM as cache for
Game Disk. Typically on a 16 GB server, you can set 4096 MB RAM as cache for game
disk. If sever have more RAM then you can set RAM cache higher.
Refer "Server Cache Settings" to set the RAM Cache and SSD cache for the disks in
server.
If affordable then use a Quad port nic or better yet a 10G Ethernet on server. This provide
clients with ample bandwidth to work with.
Note: You need to have a switch that has 10G uplink ports. Also its not recommended to
have client also have 10G ethernet as 1G build in ethernet is more than enough.
Optimize diskless boot when using the CCBoot Super Image
2017/06/10 15:32
Super Image is compiled with different NIC drivers such as (Nvidia Nforce, Realtek, Marvel,
Broadcom, Atheros, Qualcomm Atheros, Rivet Networks, JMicron Technology
Corp.,Microsoft, and Intel. Those NIC drivers are compiled using CCBoot PnP.
The purpose of using Super Image is to easily deploy CCBoot in multiple client specification
with different NIC drivers.
But some users complained that their client diskless boot became slow and it takes about 2
to 3 minutes after they installed all the drivers on this super image
So in this method, we will show you how to achieve the fast booting of your client using
CCBoot PnP in the CCBoot server.
2. If the Super Image has successfully diskless boot all of your client PCs, you have to
determine which NIC driver used by each client PCs.
3. Supposed you are using the Realtek, Atheros and Qualcomm Atheros NIC driver on your
client PCs, and then you have to remove other unused NIC drivers.
4. In the CCBoot server click the "Image Manager", right-click on your image and then select
"Add NIC Driver to Image" (Figure 1-1)
Figure 1-1
5. After that, a pop-up "Do you want to add NIC driver to image?" dialog box will show and then
click the "Yes" button (Figure 1-2)
Figure 1-2
6. Here in the “NIC Drivers” window, unchecked the other NIC driver and then click the “OK”
button (Figure 1-3)
Figure 1-3
7. After that, a pop-up “Add nic to the image success” dialog box will show (Figure 1-4)
Figure 1-4
Having an optimized server is really crucial to get great performance at the client PCs. So,
with new CCBoot version, you can now auto optimize the server NIC.
2. Click the tools menu and then choose "Optimize Server NIC" (Figure 1).
Figure 1
3. Now, it will optimize the NIC and ask you to restart, choose "Yes" to continue (Figure 2).
Figure 2
4. Once the server is restarted, your NIC will be optimized for diskless booting your clients.
Make Windows 10 boot faster
Windows 10 is an amazing OS for gamers and has many settings giving every ounce of
performance to the games. However, it is loaded with telemetry and unwanted application
and services. So here is how you can optimize Windows 10 to make it boot faster in
diskless environment and make it more responsive as well.
2. Boot one of the clients in superclient mode using a freshly uploaded Windows 10 image
to desktop and copy then extract the Optimizer-4.1.exe.
3. Right click the optimizer and then run it as administrator, you will see the main window
(Figure 1).
Figure 1
4. It will open, on the first tab "Universal" enable all options (Figure 2).
Figure 2
5. On second tab "Windows 10" also, enable all options (Figure 3).
Figure 3
6. On the "UWP Apps" table check the Select All check box and click Uninstall to remove all
unused Windows 10 Apps (Figure 4)
Figure 4
7. Removing the Windows apps will take a few minutes, once done, it will open a window
with a list of apps that were not removed, click "OK" to close it (Figure 5)
Figure 5
8. On "Cleaner" tab check the Select All checkbox and then click "Clean" button (Figure 6)
Figure 6
Windows Update is a free Microsoft service that's used to provide updates like service
packs, driver updates and patches for the Windows operating system and other Microsoft
software.
However enabling this options would easily fill the Write-back disk and unstable CCBoot
operation.
2. Go to your client PCs and download this program Stop Updates Windows 10
3. After downloading the program, install it and launch the program and just simply click
"Stop Windows Update" button and it's done. (Figure 1)
Figure 1
4. After doing the steps above, shutdown your PC and disable SuperClient to save.
Steps to disable Windows 10 applications running in the
background
In these steps we will show you how to optimize the Windows 10 client to avoid the
unexpected Write issue after 20min in the first boot of Windows 10 even without doing
nothing. These steps could help you to save Write-back disk space and improves client
performance as well.
2. Boot the client and go to "Computer Management Task Scheduler" and click the "Task
Scheduler Library".
3. Select all the tasks that are set on scheduled to run and then click disable (Figure 1-1)
Figure 1-1
4. Next is go to "Start Menu" button and click the "Settings" and it will open the Settings
window (Figure 1-2)
Figure 1-2
5. After that click the "Privacy", and scroll down and then click the "Background apps"
(Figure 1-3)
Figure 1-3
6. In the background window you will see all the apps running in the background of your
Windows 10.
7. Click the button (Let the apps run in the background) to turn off all the apps running in the
background (Figure 1-4)
Figure 1-4
Note: After you did the steps above you would notice improvement on boot time and avoid
unexpected apps running in the background.