I have found that setting a number of open files for a process in ubuntu can increase performance for KDE. I mean ulimit nofile parameter, which is placed in /etc/security/limits.conf and has a default value of 1024. I feel this value too small for my needs and I have tried several bigger values: 2048, 4096, 8192, 16383 etc up to ~64000.
A typical method to see current setting is "ulimit -a".
A reasonably high value I set for myself is 8192. But after several hours of running KDE, I occasionally found this value decreased back to 1024, while limits.conf still contains my directive on nofile=8192.
I have tested this very strange thing by setting nofile to 4096, and all the time (+ several hours of running KDE) this parameter was unchanged.
The cause of this automated decrease is very interesting, but the question is how to set open files limit to 8192 permanently?
Moreover, how to use limits.conf to set nofile to the maximum value allowed by the kernel (how to establish that maximum within limits.conf)?
A typical method to see current setting is "ulimit -a".
A reasonably high value I set for myself is 8192. But after several hours of running KDE, I occasionally found this value decreased back to 1024, while limits.conf still contains my directive on nofile=8192.
I have tested this very strange thing by setting nofile to 4096, and all the time (+ several hours of running KDE) this parameter was unchanged.
The cause of this automated decrease is very interesting, but the question is how to set open files limit to 8192 permanently?
Moreover, how to use limits.conf to set nofile to the maximum value allowed by the kernel (how to establish that maximum within limits.conf)?
Comment