lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4810961A.4000104@firstfloor.org>
Date:	Thu, 24 Apr 2008 16:15:54 +0200
From:	Andi Kleen <andi@...stfloor.org>
To:	Jens Axboe <axboe@...nel.dk>
CC:	"Alan D. Brunelle" <Alan.Brunelle@...com>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	Jens Axboe <jens.axboe@...cle.com>
Subject: Re: [RFC][PATCH 0/3] Skip I/O merges when disabled


> Not a good idea IMHO, it's much better with an explicit setting. That
> way you don't introduce indeterministic behavior.

So you would be deterministically slower.

Another way to avoid this problem would be to keep the statistics per
IO context, then the same run of a program would always get the same
behaviour. Drawback is that if your non mergeable workload consists of
lots of short running processes (like a shell script) the optimization
wouldn't work. Not sure if it's really practical, but it would be an option.

I think in modern systems with caches etc. you typically have enough
non quite deterministic and other surprising and hard to analyze
behaviour anyways, so a little more doesn't make much difference.

-Andi



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ