pfSense multithreading use?
-
Does Netgate and pfSense use Multithreading???
(Image: Simple Example of Multi Treading in Java)
(Image: thread 1)
(Gate await 10 reached)
This is a simple example of multi threading within Java I have each thread searching for a perfect number within blocks of numbers.
Is it true that pfSense only uses one thread? With the newest arm processors why not use more threads?
-
@jonathanlee said in pfSense multithreading use?:
Does Netgate and pfSense use Multithreading???
Is it true that pfSense only uses one thread? With the newest arm processors why not use more threads?
Who told you that pfSense was single-threaded?
pfSense is based on the FreeBSD operating system, which is multithreaded. In fact, it is almost impossible today to find a modern operating system that is not multithreaded. pfSense is really an operating system itself. It is a patched version of FreeBSD. And since FreeBSD is inherently multithreaded, so is pfSense.
Some particular applications that run on a multithread operating system may themselves be single-threaded for various reasons. For example, the OpenVPN package binary is single-threaded. And when you use a PPPoE connection, the code that implements the virtual PPPoE adaptor is also single-threaded. But other applications running on the same pfSense box can be multithreaded.
Suricata is multithreaded. The
filterdns
daemon that updates FQDN aliases is multithreaded. And there are many other examples running on pfSense. -
@bmeeks interesting thanks for the reply.
-
You stated in one of your other threads you are a student. It's good that you have an inquisitive mind. But you seem to be jumping to some ill-founded conclusions based on partial and/or incorrect knowledge of the subject at hand.
Spend some time on Google researching modern operating systems and the trials and tribulations of multithreaded programming. There are many things you have yet to learn in this area ... .
-
This post is deleted!