Re: NetBSD, ist es wirklich so langsam?

From: Ingo Rohlfs <i(at)dr-rohlfs.de>
Date: Tue, 2 Oct 2007 23:09:27 +0200

On Mon, Oct 01, 2007 at 10:55:30PM +0200, Bernd Walter wrote:
> On Mon, Oct 01, 2007 at 03:56:07PM +0200, Ingo Rohlfs wrote:
> > On Wed, Sep 26, 2007 at 09:55:45PM +0100, Timo Schoeler wrote:
> > > thus Ingo Rohlfs spake:
> > real memory = 535691264 (510 MB)
> > avail memory = 514813952 (490 MB)
>
> [...]
>
> > $ dd if=/dev/zero of=tmp bs=32k count=10k
> > 10240+0 records in
> > 10240+0 records out
> > 335544320 bytes transferred in 48.363 secs (6938037 bytes/sec)
> >
> > --------------
> > FAZIT
> > --------------
> >
> > 7.497 mal langsamer als FreeBSD, bei gleicher Hardware.
> > Die Position der Datei auf der Platte macht nur minimale Unterschiede.
>
> Wen wundert es, wo du doch weniger schreibst, als das RAM puffern kann.

Einverstanden. Ändert aber nichts:

*NetBSD*
# dd if=/dev/zero of=tmp bs=32k count=100k
102400+0 records in
102400+0 records out
3355443200 bytes transferred in 486.006 secs (6904118 bytes/sec)
# du -h tmp
3.1G tmp

*FreeBSD*
root(at)ws1:/scratch dd if=/dev/zero of=tmp bs=32k count=100k
102400+0 records in
102400+0 records out
3355443200 bytes transferred in 64.858215 secs (51735053 bytes/sec)

> Du misst die Geschwindigkeit vom Filesytem, syscall-Overhead,
> Cache-Strategie oder sonst was, aber absolut gar nichts in Bezug
> auf die Plattengeschwindigkeit.

Möglich. Mir ist klar, dass ich hier keine vergleichbaren "Benchmarks"
herstelle. Mich interessiert stattdessen, warum NetBSD eine absolut
unakzeptable Performance erzielt. Das System ist während des Schreibens auch
völlig 'tot', auf anderen Consolen kann ich nichts starten, was io hervorruft.

Wie ändert man dies?

Oder ist NetBSD auf der Maschine unbrauchbar
(und damit für unser Projekt).

Mit freundlichem Gruss

    Ingo Rohlfs

-- 
-----------------------------------       _____     __o
-   http://dr-rohlfs.de   !PGP!         ______    _`\<,_
-----------------------------------      ____    (_)/ (_)
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Tue 02 Oct 2007 - 23:10:44 CEST

search this site