From owner-freebsd-questions Tue Sep 1 16:19:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA16062 for freebsd-questions-outgoing; Tue, 1 Sep 1998 16:19:26 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from hera.webcom.com (hera.webcom.com [209.1.28.42]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA16057 for ; Tue, 1 Sep 1998 16:19:25 -0700 (PDT) (envelope-from graeme@echidna.com) Received: from kigal.webcom.com (kigal.webcom.com [209.1.28.57]) by hera.webcom.com (8.9.1/8.9.1) with SMTP id XAA12265; Tue, 1 Sep 1998 23:18:24 -0700 Received: from [199.183.207.49] by inanna.webcom.com (WebCom SMTP 1.2.1) with SMTP id 3336328; Tue Sep 01 16:17 PDT 1998 Message-Id: <35ECAA2C.6A20@echidna.com> Date: Tue, 01 Sep 1998 19:15:08 -0700 From: Graeme Tait Organization: Echidna X-Mailer: Mozilla 2.02 (Win16; I) Mime-Version: 1.0 To: "Callanan, Chris T" Cc: info@boatbooks.com, freebsd-questions@FreeBSD.ORG Subject: Re: Disk Cache References: <199809012210.WAA13989@calliope1.fm.intel.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Callanan, Chris T wrote: > > I guess maybe I didn't make myself clear. > > I want more drive activity on the server side. I am not using a > browser, but a home grown synthetic test from the client side. It is > not doing any caching. > > I'm in a system test lab and would like to get stress to my disk > controller, but the files this test is grabbing are fairly small in size > and in number, so they are all in FreeBSDs cache. I've no idea how to shut down the cache, but maybe that would make everything unrealistic anyway. Why not expand the file count? If you have say 100 test files 00 thru 99.html, copy them into each of say 10 directories called 0 thru 9. Then copy that tree into each of ten directories called 0 thru 9, and so on. With a few commands, you could create many megabytes of files, in a relatively efficient directory structure. Either the supply of files would swamp the cache, or be sufficient that no file is likely to be called more than once in the test. Then you would do a GET of a URL like http://hostname/0/3/5/47.html using a random (or sequential) number like 03547 to determine the path of the URL. -- Graeme Tait - Echidna To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message