From: Stephane Chazelas <stephane_chazelas@yahoo.fr>
To: Chris Mason <chris.mason@oracle.com>
Cc: cwillu <cwillu@cwillu.com>, linux-btrfs <linux-btrfs@vger.kernel.org>
Subject: Re: Memory leak?
Date: Sat, 9 Jul 2011 08:09:55 +0100 [thread overview]
Message-ID: <20110709070955.GA4294@yahoo.fr> (raw)
In-Reply-To: <1310155908-sup-9183@shiny>
2011-07-08 16:12:28 -0400, Chris Mason:
[...]
> > I'm running a "dstat -df" at the same time and I'm seeing
> > substantive amount of disk writes on the disks that hold the
> > source FS (and I'm rsyncing from read-only snapshot subvolumes
> > in case you're thinking of atimes) almost more than onto the
> > drive holding the target FS!?
>
> These are probably atime updates. You can completely disable them with
> mount -o noatime.
[...]
I don't think it is. First, as I said, I'm rsyncing from
read-only snapshots (and I could see atimes were not updated)
and nothing else is running. Then now looking at the traces this
morning, There was a lot written in the first minutes, then it
calmed down.
That's every 5 minutes (in megabytes written to the hard disks
making part of the source FS):
976 *|**|**
1786 *|****|****
2486 *|******|******
3139 *|********|********
3720 *|*********|*********
4226 *|**********|**********
4756 *|************|***********
5134 **|************|***********
5573 ***|*************|************
5991 ****|**************|************
6423 ****|***************|*************
6580 ****|****************|*************
6598 ****|****************|*************
6602 ****|****************|*************
6671 ****|****************|*************
6774 ****|****************|**************
6887 ****|****************|**************
6928 ****|****************|**************
6943 ****|*****************|**************
6954 ****|*****************|**************
6969 ****|*****************|**************
6982 ****|*****************|**************
6998 ****|*****************|**************
7016 ****|*****************|**************
7106 ****|*****************|**************
7143 ****|*****************|**************
7184 ****|*****************|***************
7216 ****|*****************|***************
7244 ****|*****************|***************
7315 ****|*****************|***************
7347 ****|******************|***************
7358 ****|******************|***************
7418 ****|******************|***************
7432 ****|******************|***************
7438 ****|******************|***************
7438 ****|******************|***************
7462 ****|******************|***************
7483 ****|******************|***************
7528 ****|******************|***************
7529 ****|******************|***************
7618 ****|******************|****************
7869 ****|*******************|****************
8325 *****|********************|******************
8419 *****|********************|******************
8533 *****|*********************|******************
8587 *****|*********************|******************
8731 *****|*********************|*******************
8830 *****|*********************|*******************
8869 *****|*********************|*******************
8881 *****|**********************|*******************
8903 *****|**********************|*******************
8974 *****|**********************|*******************
9044 *****|**********************|*******************
9100 *****|**********************|********************
9492 *****|***********************|*********************
9564 *****|***********************|*********************
9640 *****|************************|*********************
9684 *****|************************|*********************
9756 *****|************************|*********************
9803 *****|************************|*********************
9836 *****|************************|*********************
9845 *****|************************|**********************
9881 *****|************************|**********************
9989 *****|************************|**********************
10083 *****|*************************|**********************
10172 *****|*************************|**********************
10230 *****|*************************|**********************
10250 *****|*************************|***********************
10271 *****|*************************|***********************
10291 *****|*************************|***********************
10306 *****|*************************|***********************
10314 *****|*************************|***********************
10330 *****|*************************|***********************
10395 *****|*************************|***********************
10468 *****|**************************|***********************
10641 *****|**************************|***********************
10728 *****|**************************|************************
10818 *****|**************************|************************
10854 *****|***************************|************************
10855 *****|***************************|************************
10867 *****|***************************|************************
10876 *****|***************************|************************
10937 *****|***************************|************************
10937 *****|***************************|************************
10939 *****|***************************|************************
10950 *****|***************************|************************
10979 *****|***************************|************************
11108 *****|***************************|*************************
11125 *****|***************************|*************************
11161 *****|***************************|*************************
11235 *****|****************************|*************************
11270 *****|****************************|*************************
11284 *****|****************************|*************************
11298 *****|****************************|*************************
11465 *****|****************************|**************************
11608 *****|****************************|**************************
11655 *****|*****************************|**************************
11690 *****|*****************************|**************************
11776 *****|*****************************|**************************
11829 *****|*****************************|***************************
11915 *****|*****************************|***************************
11988 *****|*****************************|***************************
12040 *****|******************************|***************************
12068 *****|******************************|***************************
12080 *****|******************************|***************************
12139 *****|******************************|***************************
12216 *****|******************************|***************************
12305 *****|******************************|****************************
12405 *****|******************************|****************************
12423 *****|*******************************|****************************
12509 *****|*******************************|****************************
12568 *****|*******************************|****************************
12601 *****|*******************************|****************************
12669 *****|*******************************|*****************************
12690 *****|*******************************|*****************************
12799 *****|*******************************|*****************************
12802 *****|*******************************|*****************************
12856 *****|********************************|*****************************
12875 *****|********************************|*****************************
12891 *****|********************************|*****************************
12904 *****|********************************|*****************************
12932 *****|********************************|*****************************
12946 *****|********************************|*****************************
12971 *****|********************************|*****************************
12998 *****|********************************|*****************************
13014 *****|********************************|*****************************
13028 *****|********************************|*****************************
13036 *****|********************************|******************************
13055 *****|********************************|******************************
13064 *****|********************************|******************************
13074 *****|********************************|******************************
13124 *****|********************************|******************************
13167 *****|********************************|******************************
13178 *****|********************************|******************************
# btrfs fi show /dev/sda4
Label: none uuid: b3ce8b16-970e-4ba8-b9d2-4c7de270d0f1
Total devices 3 FS bytes used 3.71TB
devid 2 size 2.73TB used 1.30TB path /dev/sdb
devid 1 size 2.70TB used 1.27TB path /dev/sda4
devid 3 size 2.73TB used 1.27TB path /dev/sdc
Don't know why it would write that less /dev/sda4.
--
Stephane
next prev parent reply other threads:[~2011-07-09 7:09 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-03 19:09 Memory leak? Stephane Chazelas
2011-07-03 19:38 ` cwillu
2011-07-06 8:11 ` Stephane Chazelas
2011-07-07 8:09 ` Stephane Chazelas
2011-07-07 8:20 ` Li Zefan
2011-07-07 8:37 ` Stephane Chazelas
2011-07-08 12:44 ` Stephane Chazelas
2011-07-08 15:06 ` Chris Mason
2011-07-08 15:41 ` Stephane Chazelas
2011-07-08 16:11 ` Stephane Chazelas
2011-07-08 16:17 ` Chris Mason
2011-07-08 16:57 ` Stephane Chazelas
2011-07-09 17:11 ` Stephane Chazelas
2011-07-08 16:15 ` Chris Mason
2011-07-08 17:06 ` Stephane Chazelas
2011-07-08 20:04 ` Stephane Chazelas
2011-07-08 20:12 ` Chris Mason
2011-07-09 7:09 ` Stephane Chazelas [this message]
2011-07-09 7:42 ` A lot of writing to FS only read (Was: Memory leak?) Stephane Chazelas
2011-07-10 5:58 ` Memory leak? Stephane Chazelas
2011-07-09 17:09 ` Stephane Chazelas
2011-07-09 19:25 ` cwillu
2011-07-09 20:36 ` Stephane Chazelas
2011-07-10 12:44 ` Chris Mason
2011-07-10 18:37 ` Stephane Chazelas
2011-07-11 9:01 ` Stephane Chazelas
2011-07-11 15:00 ` Chris Mason
2011-07-11 15:35 ` Stephane Chazelas
2011-07-11 16:25 ` Chris Mason
2011-07-11 16:34 ` Stephane Chazelas
2011-07-12 11:40 ` Stephane Chazelas
2011-07-16 12:12 ` write(2) taking 4s. (Was: Memory leak?) Stephane Chazelas
2011-07-16 16:22 ` Stephane Chazelas
2011-07-17 9:17 ` Stephane Chazelas
2011-07-18 10:39 ` write(2) taking 4s Stephane Chazelas
2011-07-18 19:37 ` Stephane Chazelas
2011-07-19 9:32 ` Stephane Chazelas
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=20110709070955.GA4294@yahoo.fr \
--to=stephane_chazelas@yahoo.fr \
--cc=chris.mason@oracle.com \
--cc=cwillu@cwillu.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).