Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
LVS is one of method load balancing. there is any scheduling to choose server in router. In router can schedules arrived packet and forward the choosen real server. But I confuse to understand what is SMP use for?
If each computer uses two or more processors or CPU, then it is a SMP. A kernel compile with SMP uses software techniques to run two or more programs at the same time without giving a portion of time to a program to run and then pause like is done on a single processor system.
In laymen terms, a kernel compile with SMP on a two processor system can run ut2004 and play a DVD with out any problems. A single processor system will be sluggish doing the same tasks.
When Linux "runs more than one program at a time," what it is actually doing is time-slicing. There's a clock in the machine that goes off several hundred times per second, and each time it does so (or sooner), Linux can switch from running one program to running another. When a program needs to wait, for any reason and for any length of time, the program "drops out of the run-list" until the condition that it's waiting for is satisfied.
A true multi-processor system (SMP) does the same thing for more than one hardware "engine" at a time. Each CPU is selecting runnable programs from the runlist and running them in time-sliced fashion.
If your CPU(s) have the hyperthreading{tm} feature, Linux will treat them as though each of them were "more than one CPU," because those CPUs have the ability to (to some degree) have more than one thread-of-execution active at the same time. Linux uses its SMP-support to handle this, as well.
To use multiple CPUs, your kernel must be compiled with SMP support enabled.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.