The convenience script [ssc600-setup.sh](../template/kvm/ssc600-setup.sh) and accompanying service [ssc600-startup.service](../template/kvm/ssc600-startup.service) can be used to configure the L3 cache partitioning, the process bus interrupts affinity, as well as the [miscellaneous settings](#miscellaneous-settings). Run sudo systemctl edit ssc600-startup.service to configure the script.
For example, for changing the network interfaces to ens4 and ens5, add the [Service] section and the Environment=NICS="ens4 ens5" lines as below.
### Editing /etc/systemd/system/ssc600-startup.service.d/override.conf
### Anything between here and the comment below will become the new contents of the file
[Service]
Environment=NICS="ens4 ens5"
### Lines below this comment will be discarded
### /etc/systemd/system/ssc600-startup.service
# [Unit]
# Description=Runs SSC600 related startup actions
# After=network.target
#
# [Service]
# Type=oneshot
# RemainAfterExit=true
# ExecStart=/usr/sbin/ssc600-setup.sh
# StandardOutput=journal
# #User=root
#
# # Override the below using `systemctl edit ssc600-startup.service`
# # CPU cores to use for host system
# Environment=NON_RT_CORES=f
# # L3 partition for the system
# Environment=NON_RT_CACHE=0x1ff
# # L3 partitioning for the SSC600 SW
# Environment=RT_CORES='13-14'
# Environment=RT_CACHE=0xe00
# # CPU core for the process bus(es)
# Environment=CPUMASK="400"
# # Process bus interface(s)
# Environment=NICS="enp4s0 enp5s0"
#
# [Install]
# WantedBy=multi-user.target
Enable and run with
sudo systemctl enable ssc600-startup.service
sudo systemctl start ssc600-startup.service