Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Mar 2010 16:05:18 +0200
From:      Alexander Motin <mav@FreeBSD.org>
To:        Ivan Voras <ivoras@freebsd.org>
Cc:        freebsd-current@freebsd.org, freebsd-arch@freebsd.org
Subject:   Re: Increasing MAXPHYS
Message-ID:  <4BA6279E.3010201@FreeBSD.org>
In-Reply-To: <1269134585.00231959.1269122405@10.7.7.3>
References:  <1269109391.00231800.1269099002@10.7.7.3>	<1269120182.00231865.1269108002@10.7.7.3>	<1269120188.00231888.1269109203@10.7.7.3>	<1269123795.00231922.1269113402@10.7.7.3>	<1269130981.00231933.1269118202@10.7.7.3>	<1269130986.00231939.1269119402@10.7.7.3> <1269134581.00231948.1269121202@10.7.7.3> <1269134585.00231959.1269122405@10.7.7.3>

next in thread | previous in thread | raw e-mail | index | archive | help
Ivan Voras wrote:
> Julian Elischer wrote:
>> You can get better throughput by using TSC for timing because the geom
>> and devstat code does a bit of timing.. Geom can be told to turn off
>> it's timing but devstat can't. The 170 ktps is with TSC as timer,
>> and geom timing turned off.
> 
> I see. I just ran randomio on a gzero device and with 10 userland
> threads (this is a slow 2xquad machine) I get g_up and g_down saturated
> fast with ~~ 120 ktps. Randomio uses gettimeofday() for measurements.

I've just got 140Ktps from two real Intel X25-M SSDs on ICH10R AHCI
controller and single Core2Quad CPU. So at least on synthetic tests it
is potentially reachable even with casual hardware, while it completely
saturated quad-core CPU.

> Hmm, it looks like it could be easy to spawn more g_* threads (and,
> barring specific class behaviour, it has a fair chance of working out of
> the box) but the incoming queue will need to also be broken up for
> greater effect.

According to "notes", looks there is a good chance to obtain races, as
some places expect only one up and one down thread.

-- 
Alexander Motin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BA6279E.3010201>