[dm-devel] mirrored device with thousand of mapping tableentries
Eli Malul
eli.malul at kaminario.com
Mon Feb 28 11:59:16 UTC 2011
The first few lines of the table I am loading:
[root at vpc09 ~]# vi /tmp/mirror_table.txt
0 12 km_mirror core 2 8 nosync 2 /dev/loop0 0 /dev/loop1 0
12 12 km_mirror core 2 8 nosync 2 /dev/loop0 12 /dev/loop1 12
24 12 km_mirror core 2 8 nosync 2 /dev/loop0 24 /dev/loop1 24
36 12 km_mirror core 2 8 nosync 2 /dev/loop0 36 /dev/loop1 36
48 12 km_mirror core 2 8 nosync 2 /dev/loop0 48 /dev/loop1 48
60 12 km_mirror core 2 8 nosync 2 /dev/loop0 60 /dev/loop1 60
72 12 km_mirror core 2 8 nosync 2 /dev/loop0 72 /dev/loop1 72
84 12 km_mirror core 2 8 nosync 2 /dev/loop0 84 /dev/loop1 84
96 12 km_mirror core 2 8 nosync 2 /dev/loop0 96 /dev/loop1 96
108 12 km_mirror core 2 8 nosync 2 /dev/loop0 108 /dev/loop1 108
.
.
.
I am also adding the result of the 'free' command so you can see the
memory usage increasing:
[root at vpc09 ~]# free -g
total used free shared buffers
cached
Mem: 7 0 6 0 0
0
-/+ buffers/cache: 0 7
Swap: 0 0 0
[root at vpc09 ~]# free -g
total used free shared buffers
cached
Mem: 7 6 0 0 0
0
-/+ buffers/cache: 6 1
Swap: 0 0 0
-----Original Message-----
From: Alasdair G Kergon [mailto:agk at redhat.com]
Sent: Monday, February 28, 2011 1:48 PM
To: device-mapper development
Subject: Re: [dm-devel] mirrored device with thousand of mapping
tableentries
On Mon, Feb 28, 2011 at 01:21:10PM +0200, Eli Malul wrote:
> 1. Did anyone tried before to create a mirrored device with
> thousands of targets?
> 2. What is the estimated total allocated memory per each target?
> 3. Is there something I am missing here?
Please show us an example, maybe the first few lines of the tables you
are loading.
Alasdair
More information about the dm-devel
mailing list