On Thu, 2 Mar 2000, Ian S. McLeod wrote:
> An idea:
> Create hooks, probably writeable files in /proc, to allow a user space
> tool to inform the LVS kernel code of the "desirability" of each server.
> You could then write a single kernel level scheduler for LVS (called
> "lvs_user_schedule") that uses this info in it's scheduling decisions.
> This would let you push the more complicated portions of your fuzzy logic
> scheduler into user space (and possibly help in maintaining your own
> sanity :).
Hi,
I am reading your email again (at a more sane time)... and this user space
programming sounds really good.
Maybe run something that checks the traffic going on...
Monitor the real servers and number of connections, age of connections...
Check the CPU usage of the real servers...
Hmmm...
It would, however, mean that the LVS kernel module will need to be changed
to look at the /proc filesystem for scheduling info... would this be
problem Wensong? And of course, it must then require another (daemon?) to
be running even to use simple RR scheduling.
Thoughts anyone?
Ben
|