From: seriv@parkheights.dyndns.org To: hardware@lists.altlinux.org Subject: [Hardware] external journal on i-ram and ext3 Date: Fri, 31 Oct 2008 11:31:26 -0400 (EDT) Message-ID: <144315937.971225467086577.JavaMail.root@parkheights.dyndns.org> (raw) In-Reply-To: <609396627.951225466933191.JavaMail.root@parkheights.dyndns.org> Привет всем. Недавно у меня образовались лишние 4 гига 186-пиновых планочек, и я придумал купить к ним Gigabayt'ский i-Ram (see http://en.wikipedia.org/wiki/I-RAM) Потом потестировал ext3 с внешним журналом на этой штуке. Система - 8 гиг RAM, AMD Athlon(tm) 64 X2 Dual Core Processor 5200+ i-Ram распознался как: --- ata5.00: ATA-7: GIGABYTE i-RAM, v0.98, max UDMA/133 ata5.00: 4193279 sectors, multi 16: LBA ata5.00: configured for UDMA/133 ata6: SATA link down (SStatus 0 SControl 300) scsi 4:0:0:0: Direct-Access ATA GIGABYTE i-RAM v0.9 PQ: 0 ANSI: 5 sd 4:0:0:0: [sdd] 4193279 512-byte hardware sectors (2147 MB) sd 4:0:0:0: [sdd] Write Protect is off sd 4:0:0:0: [sdd] Mode Sense: 00 3a 00 00 sd 4:0:0:0: [sdd] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA sd 4:0:0:0: [sdd] 4193279 512-byte hardware sectors (2147 MB) sd 4:0:0:0: [sdd] Write Protect is off sd 4:0:0:0: [sdd] Mode Sense: 00 3a 00 00 sd 4:0:0:0: [sdd] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA --- Тестировал с диском --- scsi 1:0:0:0: Direct-Access ATA ST3500630AS 3.AA PQ: 0 ANSI: 5 sd 1:0:0:0: [sdb] 976773168 512-byte hardware sectors (500108 MB) --- Тестировал вызывая --- bonnie++ -d /mnt/bench/ -f -n512:512 --- (что значит - пропуская побайтный ввод-вывод, и создавая 512*1024 файлов в одной директории каждый размером в 512 байт) Размер раздела который я создавал каждый раз заново для тестирования 100 гиг. Вот вывод bonnie++ для ext3 созданного по умолчанию (ext3.d), ext3 с размером журнала 400 мегабайт (максимум для внутреннего журнала) (ext3.b) и ext3 с внешним журналом на i-Ram диске, внешний журнал занимал все 2147 мегабайт (ext3.e): --- Version 1.03 ------Sequential Output------ --Sequential Input- --Random- -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks-- Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP ext3.d 16G 58884 37 28376 21 59873 21 175.8 1 ext3.b 16G 60315 39 28682 20 60617 14 148.4 1 ext3.e 16G 61774 51 29035 27 61071 19 245.3 1 ------Sequential Create------ --------Random Create-------- -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- files:max:min /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP ext3.d 512:512:512 10258 62 563 2 506 5 5502 35 580 2 365 3 ext3.b 512:512:512 14059 76 8420 18 5883 29 7629 39 8380 16 2765 15 ext3.e 512:512:512 14826 78 49801 70 18230 76 14466 79 55459 73 14574 65 --- Мне очень понравилось ускорение random read в 95 раз :) -- Сергей
next parent reply other threads:[~2008-10-31 15:31 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-10-31 15:31 ` seriv [this message] 2008-11-03 16:26 ` Maxim Tyurin 2008-11-03 17:38 ` Michael Shigorin 2008-11-03 17:57 ` Maxim Tyurin 2008-11-04 10:21 ` Michael Shigorin 2008-11-04 21:36 ` seriv 2008-11-05 13:40 ` Michael Shigorin 2008-12-02 13:25 ` Vladimir V. Kamarzin 2008-11-15 23:59 ` Денис Смирнов
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=144315937.971225467086577.JavaMail.root@parkheights.dyndns.org \ --to=seriv@parkheights.dyndns.org \ --cc=hardware@lists.altlinux.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
ALT Linux hardware support This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/hardware/0 hardware/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 hardware hardware/ http://lore.altlinux.org/hardware \ hardware@altlinux.ru hardware@lists.altlinux.org hardware@lists.altlinux.ru hardware@lists.altlinux.com hardware@altlinux.org public-inbox-index hardware Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.hardware AGPL code for this site: git clone https://public-inbox.org/public-inbox.git