zpool iostat -v 2
zpool iostat -v 10
# cat /var/log/dmesg.today | head
FreeBSD 7.2-STABLE #1: Thu Jun 18 12:20:31 CEST 2009
root@echo.hoth:/usr/obj/usr/src/sys/TPR60
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM) Duo CPU T2300 @ 1.66GHz (1662.51-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x6ec Stepping = 12
Features=0xbfe9fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Features2=0xc189<SSE3,MON,EST,TM2,xTPR,PDCM>
AMD Features=0x100000<NX>
Cores per package: 2
real memory = 1600978944 (1526 MB)
avail memory = 1553580032 (1481 MB)
ACPI APIC Table: <LENOVO TP-7C >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID: 0
cpu1 (AP): APIC ID: 1
# cat /boot/loader.conf | grep kmem
vm.kmem_size="512M"
vm.kmem_size_max="512M"
# gpart show ad4
=> 34 156301421 ad4 GPT (75G)
34 128 1 freebsd-boot (64K)
162 156301293 2 freebsd-zfs (75G)
# zpool status
pool: system
state: ONLINE
scrub: none requested
config:
NAME STATE READ WRITE CKSUM
system ONLINE 0 0 0
ad4p2 ONLINE 0 0 0
errors: No known data errors
# iozone -R -l 5 -u 5 -r 4M -s 256M
Children see throughput for 5 initial writers = 18501.12 KB/sec
Parent sees throughput for 5 initial writers = 12603.72 KB/sec
Min throughput per process = 2778.95 KB/sec
Max throughput per process = 5081.93 KB/sec
Avg throughput per process = 3700.22 KB/sec
Min xfer = 143360.00 KB
Children see throughput for 5 rewriters = 14975.33 KB/sec
Parent sees throughput for 5 rewriters = 14522.65 KB/sec
Min throughput per process = 2866.66 KB/sec
Max throughput per process = 3163.15 KB/sec
Avg throughput per process = 2995.07 KB/sec
Min xfer = 237568.00 KB
Children see throughput for 5 readers = 8310.40 KB/sec
Parent sees throughput for 5 readers = 8076.86 KB/sec
Min throughput per process = 1206.17 KB/sec
Max throughput per process = 2403.73 KB/sec
Avg throughput per process = 1662.08 KB/sec
Min xfer = 135168.00 KB
wonslung said:i'm PRETTY sure i read somewhere that ZFS isn't really as fast as UFS yet for single drive configurations.
xzhayon said:yet? did you read it's going to be improved? i hope so, since i'm not leaving zfs, even if it's slower than ufs
anyway, it seems they're trying to keep the secret: i couldn't find anything about this on the zfs best practices guide or similar sources...
by the way: am i taking advantage at least of the disk cache, even if the pool is on ad4p2? i think so, for p1 is just a boot partition, but i'm not familiar with gpt, i just wanted to try the new technology
wonslung said:dude, just get a second drive with the same geometry and add it on as a mirror. hard drives are DIRT cheap these days. newegg has some great prices.
wonslung said:right now your missing out of a LOT of the cooler features by not using a redundant setup.
xzhayon said:i know, but:
1. this is a laptop, where should i put it?
2. i have a very small drive (76 gb), i was thinking about making some upgrades (motherboard, cpu... pretty everything was just replaced except the disk), perhaps waiting for ssd's to become better and cheaper (i don't really know much about them, anyway)
but, if there is a solution to #1 (really, i don't know), i think i could buy a bigger drive and mirror it (and make it 76 gb large): then i would have a decent disk to use in the future
i know, but i don't keep important data here, i put everything on my home server (which i want to convert to freebsd and then to zfs with raidz... now it's using fedora with a daily backup: zfs would be perfect!)
wonslung said:yah, i guess you don't have a ton of options with that unless your laptop has another hard drive bay...some do, some don't