All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tomasz Chmielewski <mangoo@wpkg.org>
To: linux-btrfs@vger.kernel.org
Subject: Re: btrfs and apt package manager in ubuntu
Date: Fri, 05 Nov 2010 12:25:03 +0100	[thread overview]
Message-ID: <4CD3E98F.7070505@wpkg.org> (raw)

> On Sun, Oct 31, 2010 at 11:21:36AM -0500, Christian wrote:
>> On Sun, 2010-10-31 at 16:17 +0300, Abdullah Ansari wrote:
>> > it's very slow in installtion with apt in ubuntu
>>
>> I'm seeing the same thing. When installing using apt the disk grinds
>> "forever" before the installation completes. I have two identical
>> laptops running Linux Mint 10 (rc) with similar disk layout except that
>> one has two btrfs partitions while the other only has ext4. The one with
>> btrfs takes at least 10 times longer to install updates on than the ext4
>> one.
>
> That's because dpkg uses sync when unpacking each package.

It's also quite painful when one runs a virtual machine (KVM) which has 
a btrfs filesystem (the virtual machine disk being itself on host's ext4).

While updating or installing a large number of packages (i.e. 50-100 MB) 
on a guest with btrfs filesystem, you can _really_ feel it on the host 
(system load - 10-20 or more) and other virtual machines (i.e. SSH times 
out when trying to log in to other virtual machines).


-- 
Tomasz Chmielewski
http://wpkg.org


             reply	other threads:[~2010-11-05 11:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-05 11:25 Tomasz Chmielewski [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-10-31 13:17 btrfs and apt package manager in ubuntu Abdullah Ansari
2010-10-31 16:21 ` Christian
2010-11-01  8:10   ` Mike Hommey

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=4CD3E98F.7070505@wpkg.org \
    --to=mangoo@wpkg.org \
    --cc=linux-btrfs@vger.kernel.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.