From owner-freebsd-questions@freebsd.org Mon May 14 23:18:32 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EEE77E7F2B1; Mon, 14 May 2018 23:18:31 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: from mail-lf0-x236.google.com (mail-lf0-x236.google.com [IPv6:2a00:1450:4010:c07::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4E11C6D112; Mon, 14 May 2018 23:18:31 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by mail-lf0-x236.google.com with SMTP id t129-v6so20485369lff.3; Mon, 14 May 2018 16:18:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=JeIwCJCqOysoNL8GWRdRx37+0aOFSAvimUaPVaTCm30=; b=YUyBZkcznvdl0cHiY0bWe+AgJKXx+07aQeXuPr2uFtanseijCxut2MgUC08Znh/ikn PMVt9vkbU7TRPsIYK8k8IhbGTAPKFRfwX/J4TdKFFcT7xJFi1rQSn4C/ChWTAsKIKiG5 N/5oKNbg3V10BmQPZD1WbCM9NonQdz+sXc0OJ+V+sByjEB/NeYl5nddLEYgwPosSRtdl 4vSLrCMTmBi6dsvC2SWMgSWIR5dPB8i21hJkBHzvqmlYID38EHj7+4HN0nW68wfoL70l Eg+TVy/Z+p6V5BfhOMQkrt9fve4xwezDQnwLpYXnh52PoKMIif5FLKkEUL+yiMVaWzyF MvRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=JeIwCJCqOysoNL8GWRdRx37+0aOFSAvimUaPVaTCm30=; b=tYBsDpM1ix3GrL0wQsUwLh15wtBT4y9gK3o1pCwOdYgWCPvdf9LwRPtDFigo8Evvlv ibwFiyYkSXyyCBWNvqtL0xtXWu8lKB1uysmqizLgZE2ZAoZ/Jo4vMUo4XyiNG2b07LxR jvJN06JUSk/N7Ureczmsg9ClnbyWM8eV25QVKXOTvVV3RLRo/RA5p8yKdHNynukaFEF6 PsmlUFEZAXOJtdKGza2WGt6BJtPBnkwIQqRh7SUrxdRvx7Elr3H/8chBFI7jkIMuWYhp gZ9eWKiGmXkXOvYtryueSeyoi/bQ+YXJjPtlFJ2keea0SOwT76UAr+g9UIiXVHTWYQnA A7sg== X-Gm-Message-State: ALKqPwfrljXxI6sRqoGG+FIrLd6PjpgkKeR8m0VO1zRjBQjQgk7TVqdR Pa6BpWjQfVL5uPcOlVVgqpAVLpjNn11gcH4kkgSknQ== X-Google-Smtp-Source: AB8JxZoTlklWYHUpA5+VBr8YU3wqRmQ+D/6mriShIqVfTIiJ2VEkPUxz3+9Tp6+k7bGWzvMtRgj1M7igx3c3EcG3yCk= X-Received: by 2002:a19:cfc8:: with SMTP id f191-v6mr9480026lfg.92.1526339910025; Mon, 14 May 2018 16:18:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.46.152.16 with HTTP; Mon, 14 May 2018 16:18:29 -0700 (PDT) In-Reply-To: References: <20180514214135.GB86457@server.rulingia.com> From: Russell Haley Date: Mon, 14 May 2018 16:18:29 -0700 Message-ID: Subject: Re: Feedback on benchmarking results of SDHCI and MMCCAM driver To: Udit agarwal Cc: Peter Jeremy , freebsd-arm , freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 May 2018 23:18:32 -0000 On Mon, May 14, 2018 at 2:51 PM, Udit agarwal wrote: > On Tue, May 15, 2018 at 3:11 AM, Peter Jeremy wrote: > > > On 2018-May-15 02:48:43 +0530, Udit agarwal > wrote: > > >I have conducted several sd card benchmarking tests on FreeBSD 11.1, > with > > >both SDHCI and the newly incorporated MMCCAM driver to compare their > > >performance under different conditions. > > > > Some questions: > > 1) How reproduceable are the results? Have you performed the test > > multiple times > > to check for variance? > The images that Udit is using for his tests can be made available for verification if that's desirable (we have a webserver available). His blogs are very good as well. > > Yes, i have carried these tests multiple time and the results are pretty > consistent upto 0.1MBPS. > > > 2) How did you prepare the SD card prior to each write test? Flash write > > tests > > are extremely sensitive to hidden move/rewrite and erase cycles performed > > by the > > flash translation layer. > > > Before each test, I freshly recreated the filesystem to remove any trace of > the previous tests. Moreover, I have mounted/unmounted the device to purge > any data in the cache. > > > 3) Have you tried different SD cards from different manufacturers to see > > if the > > drivers happen to interact well or badly with the specific flash > > implementation. > > > No, currently i havn't experimented with different sd cards. True, it would > be interesting to figure out the interaction of the driver with different > flash implementations. I'll perform these tests ASAP. > I'll just point out that Udits SGOC project has nothing to do with the flash implementation of the cards. Udit, I would hesitate to go down the road of multiple card tests unless you have a great deal of spare time. There are far more pertinent questions that can be asked about the variance between SDHCI and SDIO implementations. There is still the little detail of porting to RTEMS too. :) > Regards, > Udit > > > > > -- > > Peter Jeremy > > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >