From: Elliot Lee Subject: DM performance issues Date: Wed, 7 Mar 2007 19:36:25 -0500 Message-ID: <45FA1454-F5C7-45AD-8BCA-B4EDCC955EFF@gmail.com> Reply-To: device-mapper development Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: dm-devel@redhat.com List-Id: dm-devel.ids Hi all, I've got a 1.8TB LVM-on-RAID filesystem that was performing OK but really didn't seem like it was going as fast as it should. I ran the commands below and got some pretty startling results... A 60% performance hit for a linear mapping is heinous. What can I do to help get this fixed? Best, -- Elliot # dmsetup create foo --table '0 3880910848 linear 9:0 0' # dd if=/dev/md0 of=/dev/null bs=1048576 count=4096 4096+0 records in 4096+0 records out 4294967296 bytes (4.3 GB) copied, 20.2362 seconds, 212 MB/s # dd if=/dev/mapper/foo of=/dev/null bs=1048576 count=4096 4096+0 records in 4096+0 records out 4294967296 bytes (4.3 GB) copied, 55.3597 seconds, 77.6 MB/s