From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 13:23:28 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85F611065698 for ; Wed, 8 Oct 2008 13:23:28 +0000 (UTC) (envelope-from jdrouard@ankama.com) Received: from bwork.ankama.com (bwork.ankama.com [193.238.148.220]) by mx1.freebsd.org (Postfix) with ESMTP id 895D18FC14 for ; Wed, 8 Oct 2008 13:23:27 +0000 (UTC) (envelope-from jdrouard@ankama.com) Received: from pandore.ankama.com (pandore.ankama.com [193.238.148.218]) by bwork.ankama.com (Postfix) with ESMTP id ABD7328520 for ; Wed, 8 Oct 2008 15:02:00 +0200 (CEST) Received: from Pandore.ankama.com ([193.238.148.218]) by pandore.ankama.com ([193.238.148.218]) with mapi; Wed, 8 Oct 2008 15:02:08 +0200 From: Julien Drouard To: "freebsd-questions@freebsd.org" Date: Wed, 8 Oct 2008 15:02:24 +0200 Thread-Topic: Problem with writes on HD with FreeBSD 7 Thread-Index: AckpRhuW8BHjVwpgRbyD4mwaGW6RFQ== Message-ID: <7AFA66599AC41847AD8E021A1DBB9D1403E32A56D2@pandore.ankama.com> Accept-Language: fr-FR Content-Language: fr-FR X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: fr-FR MIME-Version: 1.0 X-Ankama-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: ABD7328520.26C3F X-Ankama-MailScanner: Found to be clean X-Ankama-MailScanner-From: jdrouard@ankama.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Problem with writes on HD with FreeBSD 7 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 13:23:28 -0000 Hi, Since a few weeks some of our database servers are running under FreeBSD 7 = and we have noticed that writes on HD take a lot of time. To confirm our im= pression we ran sysbench. The results are the following : * Under FreeBSD 7 : Random write : Operations performed: 0 Read, 10000 Write, 12800 Other =3D 22800 Total Read 0b Written 156.25Mb Total transferred 156.25Mb (1.6459Mb/sec) 105.34 Requests/sec executed Test execution summary: total time: 94.9312s total number of events: 10000 total time taken by event execution: 41.1071 per-request statistics: min: 0.0000s avg: 0.0041s max: 0.1653s approx. 95 percentile: 0.0251s * Under FreeBSD 6.2 : random write Operations performed: 0 Read, 10005 Write, 12673 Other =3D 22678 Total Read 0b Written 156.33Mb Total transferred 156.33Mb (10.505Mb/sec) 672.32 Requests/sec executed Test execution summary: total time: 14.8814s total number of events: 10005 total time taken by event execution: 112.2531 per-request statistics: min: 0.0000s avg: 0.0112s max: 0.9868s approx. 95 percentile: 0.0010s The command used for sysbench is : sysbench --num-threads=3D16 --test=3Dfil= eio --file-total-size=3D3G --file-test-mode=3Drndwr run I have found absolutely nothing to explain that differences so if someone c= an help me to solve this problem I would be very grateful. Kind Regards, Julien --=20 This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.