From: Aaron Sethman Message-ID: MIME-Version: 1.0 Subject: [Openvpn-devel] an idea for openvpn.. Sender: openvpn-devel-admin@lists.sourceforge.net Errors-To: openvpn-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Date: Wed May 7 07:38:10 2003 Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Transfer-Encoding: 8bit To: openvpn-devel@lists.sourceforge.net One of the things that I just thought about is, that we can probably have openvpn call sched_setscheduler() using something like SCHED_RR. This might be of more use than just renicing the process. Considering we are in a fairly performance critical path for a userspace process this would seem to make sense. Not sure how to deal with SCHED_RR wrt to threads though. On my systems I haven't noticed much of a difference, when doing this, but my systems aren't heavily loaded either. Thoughts, comments? -Aaron