9front - general discussion about 9front
 help / color / mirror / Atom feed
* strange stats
@ 2015-02-24 17:10 Giacomo Tesio
  2015-02-24 17:24 ` [9front] " cinap_lenrek
  0 siblings, 1 reply; 2+ messages in thread
From: Giacomo Tesio @ 2015-02-24 17:10 UTC (permalink / raw)
  To: 9front

Hi, I've noted a strange behaviour in stats during the system compilation.

When I run `mk install` at the rio terminal, stats shows that load,
context and syscalls grow to 100% untill the window buffer is full and
then go down to the previous values. If I scroll down the window, the
stats grow up again until the the window is full, than drop again.

Instead if I send stdout to a file, that stats remain 100% till the
compilation completes.

Such behaviour makes me wonder if writing logs to the console is
blocking the compiler.
Is this the expected behaviour?


Moreover, does the compiler benefit from multiple cores?
`xl top` at xen dom0 shows the cpu usage of the 9front vm at 112% but
I did expect it around 400%, since I assigned 4 cores to the system.


Giacomo


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

* Re: [9front] strange stats
  2015-02-24 17:10 strange stats Giacomo Tesio
@ 2015-02-24 17:24 ` cinap_lenrek
  0 siblings, 0 replies; 2+ messages in thread
From: cinap_lenrek @ 2015-02-24 17:24 UTC (permalink / raw)
  To: 9front

yes, unless the window is in "scroll" mode (middle mouse button menu),
the writer will block when the window filled up. read rio(1)

and yes, it benefits from multiple processors (you can set NPROC
environment variable before mk to get more stuff run in parallel).

but nobody knows if cpu is the bottleneck on your xen box. remember,
you'r probably the first running 9front on xen-hvm :)

--
cinap


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

end of thread, other threads:[~2015-02-24 17:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-24 17:10 strange stats Giacomo Tesio
2015-02-24 17:24 ` [9front] " cinap_lenrek

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).