News for hackers. Stuff that matters.
Re:Costs of multi-process architectures by stcredzero on Friday July 04, 2014 @03:04PM (#7989880)
You can find 4 cores in a trivial computer these days (8 cores with hyperthreading). This means you can have 8 processes without context switching at all

The story changes if those processes have to communicate.

Cache misses and overly eager context switching are bad,...There are ways to design multi-process systems to take best advantage of all cores, and your machine caches.

Yeah, but frankly, the situation sucks! It's still quite difficult to detect such problems with certainly, and the solutions often look like hacks.

Plus, forget computers, multitasking is a fact of life...We have to check email and talk on the phone at the same time sometimes

This kind of misses the point. We can do efficient multitasking of largely independent processes, and have been doing that for a long while. It's using multiple cores on heavily interrelated and interconnected processes where things get quite hairy. This is where current architectures suck.

There are no comments on this comment yet.