All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Tripathy <jonnyt-Nf8S+5hNwl710XsdtD+oqA@public.gmane.org>
To: Kent Overstreet <koverstreet-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
Cc: linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Block Size for Windows
Date: Tue, 28 Aug 2012 23:43:47 +0100	[thread overview]
Message-ID: <503D49A3.4090100@abpni.co.uk> (raw)
In-Reply-To: <CAH+dOxLaYdqOi+n=NF2MSoEVsSz-C6QazbQrdwGCO02aDZXxDg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

On 27/08/2012 20:55, Kent Overstreet wrote:
> On Mon, Aug 27, 2012 at 12:43 PM, Jonathan Tripathy <jonnyt-Nf8S+5hNwl710XsdtD+oqA@public.gmane.org> wrote:
>> On 27/08/2012 20:22, Kent Overstreet wrote:
>>> echo 1 > /sys/fs/bcache/<uuid>/unregister
>>>
>>> echo 1 > /sys/block/bcache0/bcache/stop
>> Ok, so I managed to recreate everything with a block size of 512 bytes.
>> However, 2 bad things have happened:
>>
>> 1) In my Linux DomU, my fio randomwrite test have gone from about 28k iops
>> to about 800 iops. Can this be fixed? changing bs and ba to 512 in the fio
>> config file didn't hep.
> Ouch!
>
> Bet the ssd doesn't like those 512 byte journal writes. I'm going to
> have to think about that...
Hi Kent,

Ok, a little good news. I managed to sort out the low IOPS issue. When I 
formatted bcache0 with a 512 block size, I forgot to set the caching 
mode back to writeback. Once I did that, the IOPS were nice and high 
again (circa 26k IOPS). Sorry about the noise regarding that non-issue.

I re-tried the windows setup with writeback enabled for the 512B 
formatted cache. It kernel paniced as per-usual, however for some 
reason, it's kernel panicking upon every boot now, whereas when it was 
formatted with 4k sectors, once the system came back up, it was stable 
(until I tried another windows setup). The debug trace appears to be the 
same as the one I posted to the list (kernel BUG at fs/bio.c:420! 
invalid opcode: 0000 [#1] SMP).

I appreciate your time.

Thanks

  parent reply	other threads:[~2012-08-28 22:43 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-27 19:14 Block Size for Windows Jonathan Tripathy
     [not found] ` <503BC71A.6050207-Nf8S+5hNwl710XsdtD+oqA@public.gmane.org>
2012-08-27 19:17   ` Kent Overstreet
     [not found]     ` <CAH+dOxJ1GPQgmgDv4T3On-QovazSshU89GdVp=EHFmpaAzAGnQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-08-27 19:19       ` Jonathan Tripathy
     [not found]         ` <503BC82F.1030107-Nf8S+5hNwl710XsdtD+oqA@public.gmane.org>
2012-08-27 19:19           ` Kent Overstreet
     [not found]             ` <CAH+dOxJZEH9=ZEsB4RsS-8MdH-AGRh3jvo31bMUwXsMdirLMMQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-08-27 19:20               ` Jonathan Tripathy
     [not found]                 ` <503BC897.3020606-Nf8S+5hNwl710XsdtD+oqA@public.gmane.org>
2012-08-27 19:22                   ` Kent Overstreet
     [not found]                     ` <CAH+dOxKx=kaW4duTyhRYrFH-5mYDUT6CGgY7WX9vqsMD_CpJaQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-08-27 19:43                       ` Jonathan Tripathy
     [not found]                         ` <503BCDC6.9010807-Nf8S+5hNwl710XsdtD+oqA@public.gmane.org>
2012-08-27 19:55                           ` Kent Overstreet
     [not found]                             ` <CAH+dOxLaYdqOi+n=NF2MSoEVsSz-C6QazbQrdwGCO02aDZXxDg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-08-28 22:43                               ` Jonathan Tripathy [this message]
     [not found]                                 ` <503D49A3.4090100-Nf8S+5hNwl710XsdtD+oqA@public.gmane.org>
2012-08-28 22:56                                   ` Jonathan Tripathy
2012-08-27 20:00                           ` Jonathan Tripathy
     [not found]                             ` <503BD1E8.7060402-Nf8S+5hNwl710XsdtD+oqA@public.gmane.org>
2012-08-27 20:07                               ` Jonathan Tripathy
     [not found]                                 ` <503BD37C.9010403-Nf8S+5hNwl710XsdtD+oqA@public.gmane.org>
2012-08-27 20:15                                   ` Jonathan Tripathy
     [not found]                                     ` <503BD55D.2060408-Nf8S+5hNwl710XsdtD+oqA@public.gmane.org>
2012-08-27 20:18                                       ` Joseph Glanville
     [not found]                                         ` <CAOzFzEi6AzHFJVUGGc+J2p7QYe2f2i_XKrpad8wHDXo2xO=buA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-08-27 20:20                                           ` Jonathan Tripathy
2012-08-27 22:02                                           ` Jonathan Tripathy
     [not found]                                             ` <503BEE7F.4020202-Nf8S+5hNwl710XsdtD+oqA@public.gmane.org>
2012-08-27 22:06                                               ` Joseph Glanville
     [not found]                                                 ` <CAOzFzEg7v6U6sTYjTsGDzPE_yGRp-WULzngAn-1TCygp2jo76w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-08-29  5:56                                                   ` Kent Overstreet
     [not found]                                                     ` <CAH+dOxLnh34vQ+56JUfKtA2PyA1cyeDZvfBdWvSUhZC_pV2YMQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-08-29  7:03                                                       ` Kent Overstreet
     [not found]                                                         ` <CAH+dOxJYNE=UiKX-GaCUmhWOgoHqkGrBnF=sOc7mXDUoFKu36Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-08-29 12:12                                                           ` Jonathan Tripathy
     [not found]                                                             ` <a3453cb279f786534858d1d410d880f5-Nf8S+5hNwl710XsdtD+oqA@public.gmane.org>
2012-08-29 17:22                                                               ` Jonathan Tripathy
     [not found]                                                                 ` <503E4FD6.20106-Nf8S+5hNwl710XsdtD+oqA@public.gmane.org>
2012-08-29 17:34                                                                   ` Kent Overstreet
     [not found]                                                                     ` <20120829173459.GB3893-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
2012-08-29 17:42                                                                       ` Jonathan Tripathy
     [not found]                                                                         ` <503E5493.5090903-Nf8S+5hNwl710XsdtD+oqA@public.gmane.org>
2012-08-29 18:06                                                                           ` Kent Overstreet
     [not found]                                                                             ` <20120829180602.GA14247-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
2012-08-29 18:07                                                                               ` Jonathan Tripathy
2012-08-30  2:00                                                                   ` Brad Campbell
     [not found]                                                                     ` <503EC946.3050500-+nnirC7rrGZibQn6LdNjmg@public.gmane.org>
2012-08-30  2:10                                                                       ` Jonathan Tripathy
2012-08-28  0:59                                               ` James Harper
     [not found]                                                 ` <6035A0D088A63A46850C3988ED045A4B29A75808-mzsoxcrO4/2UD0RQwgcqbDSf8X3wrgjD@public.gmane.org>
2012-08-28  9:12                                                   ` Jonathan Tripathy
2012-08-28 20:03                                                   ` Jonathan Tripathy
     [not found]                                                     ` <503D2411.70105-Nf8S+5hNwl710XsdtD+oqA@public.gmane.org>
2012-08-28 20:15                                                       ` Jonathan Tripathy
2012-08-28  2:06                                               ` Brad Campbell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=503D49A3.4090100@abpni.co.uk \
    --to=jonnyt-nf8s+5hnwl710xsdtd+oqa@public.gmane.org \
    --cc=koverstreet-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org \
    --cc=linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.