Hello,
I have [Searched] the forum for my issue and found nothing related or helpful
I have checked the [Resources category]
I have reviewed the [Wiki] for relevant information
I have read the the [Release Notes and Errata]
OpenMandriva Lx version:
OpenMandriva Lx 25.06 (ROME) with kernel 6.14.2
Desktop environment (KDE, LXQT…):
KDE plasma
Description of the issue (screenshots if relevant):
I use the “less” command frequently in a terminal window to examine the content of text files.
Every time I use the “less” command there is a delay of approximately 2.3 seconds before anything appears on the screen. I understand that “less” scans the whole file to find newlines before starting the display. However the 2.3 second delay still happens even when I use it to display the content of a very small file.
Relevant information (hardware involved, software version, logs or output…):
For example, my .bashrc file is a small 11 line, 234 byte file, unchanged since the user-id was created. The same delay does not happen when using the similar “more” command. Here are some timing results comparing the times to run “less” and “more”. I keep pressing “q” so that “less” exits as soon as the first keyboard character is read by the program.
[xxxxxx ~]$ time less .bashrc
real 0m2.316s
user 0m0.147s
sys 0m0.067s
[xxxxxx ~]$ time more .bashrc >/dev/null
real 0m0.009s
user 0m0.005s
sys 0m0.004s
The “more” command uses the same shared libraries as the “less” command plus a few others. The starting delay is consistent in subsequent runs of the program when the files should all be in file cache. Running the “top” program shows only a tiny CPU and memory usage on this machine at the time of the tests.
I am running OpenMandriva Lx 25.06 (ROME) with kernel 6.14.2 and KDE plasma desktop. It is an x86_64 system. The CPU is not the latest and fastest (an Intel E5-1620 at 3.50GHz). The system drive is a reasonably fast SATA SSD. The machine also has plenty of RAM (86 GiB) to act as a file cache.
I have also tried running the program in a console text display (no GUI) and the startup delay is the same.
The version of the “less” program on OpenMandriva Lx 25.06 (ROME) is 676.
I also have Debian 12 installed on another SSD in this machine. The version of “less” on this SSD is 590 and it does not experience this starting delay.
I also have Debian 13 installed on another SSD in this machine. The version of “less” on this SSD is 668 and it also does not experience this starting delay.
Has anyone else experienced this delay issue when running the “less” command and can anyone suggest a fix ?