FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Device-mapper Development

 
 
LinkBack Thread Tools
 
Old 02-28-2011, 10:59 AM
"Eli Malul"
 
Default mirrored device with thousand of mapping tableentries

The first few lines of the table I am loading:
[root@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@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@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@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


--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
 

Thread Tools




All times are GMT. The time now is 11:58 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org