Skip to contentSkip to conversation

DM Performance

DISCUSSION Tom Parker 2 participants 2 messages Apr 7, 2005 Device mapper

lore
Share & tools
lore

Tom Parker

author
#0 lore raw

I'm trying to find out whether there's been any work regarding device mapper with very large mapping tables. Specifically,

1) Is there any limit on the size of a mapping table? Can hand over a table with 30,000+ entries and expect DM to still work?
2) Is there any significant performance degredation with large tables?
3) As I understand it, DM stores the mapping tables itself somehow, in a way that is persistant across reboots. I'm not certain about that, but if that's so, wouldn't it also create limits on table sizes? If not, are there any suggested ways to make complex/large tables persistant?

Thanks,

Tom Parker

Signature · 2 lines
[email protected] - http://tevp.net
Illegitimus non carborundum
#1 lore raw
Quoted 2 lines · Tom Parker

1) Is there any limit on the size of a mapping table? Can hand over a table with 30,000+ entries and expect DM to still work?

Yes, but you might hit hard-coded libdevmapper limit.

Quoted 1 line

2) Is there any significant performance degredation with large tables?

Should not be.

Quoted 2 lines

3) As I understand it, DM stores the mapping tables itself somehow, in a way that is persistant across reboots.

No, that's one thing lvm2, multipath-tools etc. are for.

Alasdair

Signature · 1 line
[email protected]