9front - general discussion about 9front
 help / color / mirror / Atom feed
* Some SMP performance measurements.
@ 2020-03-12  2:38 Trevor Higgins
  2020-03-12 12:14 ` [9front] " Steve Simon
  2020-03-13 16:52 ` Ethan Gardener
  0 siblings, 2 replies; 4+ messages in thread
From: Trevor Higgins @ 2020-03-12  2:38 UTC (permalink / raw)
  To: 9front

Using 'mk'  just because it is there and manages the multitasking for 
me. I used timing of a build to measure performance.
Comparing a standard build from ramfs with both source objects files in 
the same file service , and a build where the source and object files 
were split between 8 ramfs mount points.

I have found that the Fileservices are a significant source of 
throttling of performance. Performance using hjfs shows ramfs is not 
causing unexpected delay and ramfs always shows significant increase in 
performance over hjfs.

Splitting the build directories showed a 4 fold decrease in real build 
time with fewer processors/threads.
For a build with a single FS serving the source and a single FS serving 
the object storage, there is no real saving in time after 4 threads. The 
build process is completely IO bound with 6 threads.

The split build is IO bound with 8 threads but with better utilization 
resulting in substantially lower build times.

No criticism of Plan9 or anything or anyone, just looking at the numbers 
to help figure out how to design some software I am writing. SMP may not 
be much use to me in my application.


-- 

We need another plan



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-03-13 16:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-12  2:38 Some SMP performance measurements Trevor Higgins
2020-03-12 12:14 ` [9front] " Steve Simon
2020-03-12 17:14   ` hiro
2020-03-13 16:52 ` Ethan Gardener

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).