9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] It's not like lightning is it ...
@ 2004-06-08 21:37 Matt Pidd-Cheshire
  2004-06-07 22:08 ` Charles Forsyth
  2004-06-08 21:42 ` boyd, rounin
  0 siblings, 2 replies; 11+ messages in thread
From: Matt Pidd-Cheshire @ 2004-06-08 21:37 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

cej@gli.cas.cz wrote:

> (the box computes some task for 5 weeks now, so I don't
> want to restart it)

I had that problem too. Dictionary AVL tree builder, running
on 2Gb of ascii text for 9 days, no sign of finishing.

Copied src (unchanged save for includes) to FreeBSD
running on the same box, compiled it and kicked it off.

Twelve minutes later I had my result. Double checked it with
a smaller dataset. No echo 'pri xx' > /proc/yy/ctl or anything
of that kind.

Without wishing to be offensive, does anyone know why
Plan 9 appears to be so slow?

I love the OS, but it doesn't do my work on time.  =)




^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: [9fans] It's not like lightning is it ...
@ 2004-06-08 22:12 Matt Pidd-Cheshire
  2004-06-08 22:17 ` boyd, rounin
  0 siblings, 1 reply; 11+ messages in thread
From: Matt Pidd-Cheshire @ 2004-06-08 22:12 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

boyd wrote:

 > slower than what?  define your parameters.

as I say; same dataset, same source code, same physical
machine different OS.

Single CPU (1.3GHz P3) 512Mb RAM

differences; gcc versus 8c - tho I don't see how that
can make much difference...

:-\

or am I missing something out?




^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: [9fans] It's not like lightning is it ...
@ 2004-06-09  1:09 Matt Pidd-Cheshire
  2004-06-09  1:13 ` Rob Pike
  0 siblings, 1 reply; 11+ messages in thread
From: Matt Pidd-Cheshire @ 2004-06-09  1:09 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Brantley Cole wrote:

> Does the program in question buffer its output?
> Plan 9 doesn't like lots of small writes.

The tree is built during the input read phase and
written when the input is exhausted through a stdio
interface. 9 days and counting for the read phase, it
didn't even get round to writing.

The bottleneck seems to be kfs' reading the fresh data.
Fat kfs buffers don't solve the initial read problem,
the system generally is a bit slicker once the data is
cached.




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

end of thread, other threads:[~2004-06-09  1:13 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-08 21:37 [9fans] It's not like lightning is it Matt Pidd-Cheshire
2004-06-07 22:08 ` Charles Forsyth
2004-06-08 22:43   ` Matt Pidd-Cheshire
2004-06-08 22:54     ` Geoff Collyer
2004-06-08 21:42 ` boyd, rounin
2004-06-08 22:12 Matt Pidd-Cheshire
2004-06-08 22:17 ` boyd, rounin
2004-06-08 23:07   ` Matt Pidd-Cheshire
2004-06-08 23:32     ` Brantley Coile
2004-06-09  1:09 Matt Pidd-Cheshire
2004-06-09  1:13 ` Rob Pike

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