cytune
Cyclades serial driver tuning utility
TLDR
Display current settings for a serial device
SYNOPSIS
cytune [options] tty...
DESCRIPTION
cytune is a utility for tuning the interrupt threshold and timeout parameters for Cyclades serial drivers. These parameters affect how the driver buffers data before triggering an interrupt, balancing latency against CPU overhead.
The threshold value determines how many characters accumulate in the hardware buffer before an interrupt is generated. Higher values reduce interrupt overhead but increase latency. The timeout ensures data is delivered even when the threshold isn't reached.
These tuning parameters are important for high-speed serial communication where the balance between throughput and responsiveness affects application behavior.
PARAMETERS
TTY
Serial device to configure (e.g., /dev/ttyC0).-s VALUE
Set the current threshold value.-S VALUE
Set the default threshold value.-t VALUE
Set the timeout value.-T VALUE
Set the default timeout value.-g
Get settings in numeric format.-q
Quiet mode (no output on success).
CAVEATS
Only works with Cyclades serial hardware and drivers. Incorrect settings can cause data loss or poor performance. Requires root privileges to modify settings. Not applicable to standard serial ports.
HISTORY
cytune was developed for the Cyclades multiport serial card drivers in Linux. Cyclades produced high-density serial solutions for applications requiring many serial ports. The utility allows fine-tuning driver behavior for specific workloads.
