From owner-freebsd-hackers Fri Jun 2 22:17:01 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id WAA28562 for hackers-outgoing; Fri, 2 Jun 1995 22:17:01 -0700 Received: from Root.COM (implode.Root.COM [198.145.90.1]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id WAA28552 for ; Fri, 2 Jun 1995 22:16:54 -0700 Received: from corbin.Root.COM (corbin.Root.COM [198.145.90.18]) by Root.COM (8.6.8/8.6.5) with ESMTP id WAA08577; Fri, 2 Jun 1995 22:19:53 -0700 Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.6.11/8.6.5) with SMTP id WAA00138; Fri, 2 Jun 1995 22:17:04 -0700 Message-Id: <199506030517.WAA00138@corbin.Root.COM> To: "Rodney W. Grimes" cc: henrich@crh.cl.msu.edu (Charles Henrich), freebsd-hackers@freebsd.org Subject: Re: A performance mystery In-reply-to: Your message of "Fri, 02 Jun 95 22:10:47 PDT." <199506030510.WAA09409@gndrsh.aac.dev.com> From: David Greenman Reply-To: davidg@Root.COM Date: Fri, 02 Jun 1995 22:17:02 -0700 Sender: hackers-owner@freebsd.org Precedence: bulk >> > > 16 8192 3360694 2890287 > ^^^^^^^ > >How come *this* number and the number below are different by a factor >of 7??? It should have been the same. ``iozone 16 8192'' and the >above line from ``iozone auto'' do exactly the same things yet we >are seeing this *huge* descrepancy. Because there isn't enough 'free' memory at the time that he ran the test to cache the entire file. Since it's read sequentially and the cache policy for something like this is more or less LRU, it get pushed out of the cache before it is read back. -DG