9front - general discussion about 9front
 help / color / mirror / Atom feed
From: hiro <23hiro@gmail.com>
To: 9front@9front.org
Subject: Re: [9front] Some SMP performance measurements.
Date: Thu, 12 Mar 2020 18:14:54 +0100	[thread overview]
Message-ID: <CAFSF3XNHRp7EW5230R_yjC+SDrAuUkdZ5j7kS1q75xLtoeKOwA@mail.gmail.com> (raw)
In-Reply-To: <EEE5D216-848F-4E5A-AA97-6F7B7E56ED94@quintile.net>

i compared ramfs and cwfs, and performance was kinda same.
though ramfs might be slower than cwfs in some cases bec. ramfs is
single-threaded.

On 3/12/20, Steve Simon <steve@quintile.net> wrote:
> hi,
>
> out of interest what are you building, the kernel?
>
> also, remember the caches in the file servers so try repeating the build
> several times on a quiet machine.
>
> personally i find plan9’s linker is the bottleneck when doing builds, and i
> have always found builds to be cpu bound.
>
> -Steve
>
>> On 12 Mar 2020, at 2:40 am, Trevor Higgins <plan9fullfrontal@qs.co.nz>
>> wrote:
>>
>> 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
>
>


  reply	other threads:[~2020-03-12 17:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-12  2:38 Trevor Higgins
2020-03-12 12:14 ` [9front] " Steve Simon
2020-03-12 17:14   ` hiro [this message]
2020-03-13 16:52 ` Ethan Gardener

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAFSF3XNHRp7EW5230R_yjC+SDrAuUkdZ5j7kS1q75xLtoeKOwA@mail.gmail.com \
    --to=23hiro@gmail.com \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).