Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C03A5200B17 for ; Tue, 7 Jun 2016 02:58:56 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BEA22160A56; Tue, 7 Jun 2016 00:58:56 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D4B38160A24 for ; Tue, 7 Jun 2016 02:58:55 +0200 (CEST) Received: (qmail 88713 invoked by uid 500); 7 Jun 2016 00:58:55 -0000 Mailing-List: contact users-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cloudstack.apache.org Delivered-To: mailing list users@cloudstack.apache.org Received: (qmail 88700 invoked by uid 99); 7 Jun 2016 00:58:54 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jun 2016 00:58:54 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 254CE1A0D14 for ; Tue, 7 Jun 2016 00:58:54 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.802 X-Spam-Level: X-Spam-Status: No, score=-0.802 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id HGBKp-yApHSa for ; Tue, 7 Jun 2016 00:58:53 +0000 (UTC) Received: from mail-pf0-f179.google.com (mail-pf0-f179.google.com [209.85.192.179]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 044335FB6F for ; Tue, 7 Jun 2016 00:58:52 +0000 (UTC) Received: by mail-pf0-f179.google.com with SMTP id y124so12336119pfy.0 for ; Mon, 06 Jun 2016 17:58:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-transfer-encoding; bh=XouQQyH7PgsSSSgjPmoZJaF+WFSi6bIpQzjdMueEQ4Y=; b=M97yJGNHgWxRcOq/TSjlWMXH7+6SwiO49EEEmBCowJKkofT9uFa2twp/Xl7A292pmq YLdhyYbK2DtHExka/7HrPZ+fW5M5z7eFWT4lvd+DM5/j7DqeFaeklFzZl395wjIh68fY hiNgb79keWYK9qMJU70/UHY/2l09IGrVHnrWNL1PeBj/jXpaPeNE4LdmDgypNMG/qJuq xNrX6n9B5H7DhX3UQ/iBH8Bh1YCxrIlJ/CO1TTPa9fis8DIxVo2iGBLWYGvSPOW9cTY4 J8kxtIdS/gCViPyElWlA1j/b963jTallqh6uDTTVRsI+mKY8ePPXi150kz7FDHmsbWGQ clNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-transfer-encoding; bh=XouQQyH7PgsSSSgjPmoZJaF+WFSi6bIpQzjdMueEQ4Y=; b=XuGIi+KsfaM62DfyatarAYIOE2p+Cqor0towDSzsJ1HV46OzHuMVPysr5SHs2NLWH1 JMKZomj9yxfDLr4W5XblNekxyzynR8rIfjF839XVWSqlGpxwCMp/kOGe0hM/PPIdmNJa XVKzUSiML86vFPVZ69wXPd+2P8j3fwe1Lg2XAHt2YTJP71Q8kmRdNrXtOgD/WTW+s8T8 V4gsBk/sImMdN5pvrKTwB+fxPJ/4Ch/q/riKQAxXsiudh3tquIeVRnDk8F9ehv/5KWj2 UCAe3iVGpOlTeeXdVsLyB9nNyV+5TvRlg5W4ensvj62gei3W1sanExFa+Jc2ukuasQ6T vOLw== X-Gm-Message-State: ALyK8tJsVjRUNdTRlcGO/xL+Se35DWEIiUZZpXTcpekvv6478fZ9pRdGrddDlSCm8GsruQ== X-Received: by 10.98.42.206 with SMTP id q197mr28987097pfq.108.1465261131901; Mon, 06 Jun 2016 17:58:51 -0700 (PDT) Received: from [0.0.0.0] (dev1.cloudsand.com. [162.243.147.22]) by smtp.gmail.com with ESMTPSA id wt6sm15599950pab.3.2016.06.06.17.58.50 for (version=TLSv1/SSLv3 cipher=OTHER); Mon, 06 Jun 2016 17:58:51 -0700 (PDT) Message-ID: <57561C47.7060300@gmail.com> Date: Mon, 06 Jun 2016 17:58:47 -0700 From: ilya User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: users@cloudstack.apache.org Subject: Re: Storage Performance References: <20160605160613.GA31486@shagomer.uplink.tucha13.net> <000201d1bf4c$789c3d60$69d4b820$@gmail.com> <20160605165036.GA7646@shagomer.uplink.tucha13.net> <20160605170643.GB7646@shagomer.uplink.tucha13.net> <20160606142604.GC7646@shagomer.uplink.tucha13.net> In-Reply-To: <20160606142604.GC7646@shagomer.uplink.tucha13.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit archived-at: Tue, 07 Jun 2016 00:58:56 -0000 I see in the code setCacheMode for KVM is there - i'm not certain how to invoke it to use writeback. https://git-wip-us.apache.org/repos/asf?p=cloudstack.git&a=search&h=HEAD&st=grep&s=setCacheMode On 6/6/16 7:26 AM, Vladimir Melnik wrote: > Dear colleagues, > > I've found why guest's storage performance was much less than host's performance (the mistake was too stupid to tell about it, really). > > But I'd like to ask one more question if you don't mind. :) I played with various KVM options (cache, io and so on...) and now I can say that I got most IOpS with cache=writeback. Tests are being performed with the fio utility, here is the jobfile contents: > [readtest] > blocksize=4k > filename=/dev/vdb > rw=randread > direct=1 > buffered=0 > ioengine=libaio > iodepth=32 > size=20% > > [writetest] > blocksize=4k > filename=/dev/vdb > rw=randwrite > direct=1 > buffered=0 > ioengine=libaio > iodepth=32 > size=20% > > Is there any way to make ACS run create KVM domains with cache=writeback instead of cache=none without patching the source code? > > Thank you! >