|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
SSD disk speed
Hi,
i use (the latest) openbsd current on my desktop, and have a samsung 830 ssd with 256 GB as my system disk (including /home). Here's the disklabel: Code:
# /dev/rsd0c: type: SCSI disk: SCSI disk label: SAMSUNG SSD 830 duid: XXX flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 31130 total sectors: 500118192 boundstart: 64 boundend: 335544384 drivedata: 0 16 partitions: # size offset fstype [fsize bsize cpg] a: 2104448 64 4.2BSD 2048 16384 1 # / b: 9430158 2104512 swap # none c: 500118192 0 unused d: 41945696 11534688 4.2BSD 2048 16384 1 # /usr e: 62910528 53480384 4.2BSD 2048 16384 1 # /usr/local f: 4192960 116390912 4.2BSD 2048 16384 1 # /var g: 2088448 120583872 4.2BSD 2048 16384 1 # /tmp h: 212872064 122672320 4.2BSD 2048 16384 1 # /home Code:
Disk: sd0 geometry: 31130/255/63 [500118192 Sectors] Offset: 0 Signature: 0xAA55 Starting Ending LBA Info: #: id C H S - C H S [ start: size ] ------------------------------------------------------------------------------- 0: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused *3: A6 0 1 2 - 20886 171 21 [ 64: 335544320 ] OpenBSD Code:
XXX.b none swap sw XXX.a / ffs rw,softdep 1 1 XXX.g /tmp ffs rw,softdep,nodev,nosuid 1 2 XXX.d /usr ffs rw,softdep,nodev 1 2 XXX.e /usr/local ffs rw,softdep,nodev 1 2 XXX.f /var ffs rw,softdep,nodev,nosuid 1 2 XXX.h /home ffs rw,softdep,nodev,nosuid 1 2 /dev/sd1d /multimedia ffs ro,nodev,nosuid,softdep 1 2 Of course disk read/write speed numbers would be much better than feelings, and checking ports, i found some (old) disk benchmarking tools -- but i don't know which tool(s) is appropriate for the job. Can you recommend some? I also thought about alingment errors in my partition layout, resulting in / being fast, but /usr and /home to be slower. If you spot any obvious flaw, please let me know. Thanks in advance, drm obligatory dmesg: Code:
OpenBSD 5.5-beta (GENERIC.MP) #287: Fri Feb 7 11:45:09 MST 2014 todd@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 3738107904 (3564MB) avail mem = 3630379008 (3462MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf0100 (61 entries) bios0: vendor Award Software International, Inc. version "F4" date 07/28/2010 bios0: Gigabyte Technology Co., Ltd. GA-880GMA-UD2H acpi0 at bios0: rev 0 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT HPET MCFG MATS APIC acpi0: wakeup devices USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB5(S3) USB6(S3) SBAZ(S4) PEX0(S5) PEX1(S5) PEX2(S5) PEX3(S5) P2P_(S5) PCE2(S4) PCE3(S4) PCE4(S4) [...] acpitimer0 at acpi0: 3579545 Hz, 32 bits acpihpet0 at acpi0: 14318180 Hz acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255 acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD Athlon(tm) II X2 240e Processor, 11252.13 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 16-way L2 cache cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative cpu0: AMD erratum 721 detected and fixed cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 200MHz cpu0: mwait min=64, max=64, C-substates=0.0.0.0.0, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: AMD Athlon(tm) II X2 240e Processor, 2812.92 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 16-way L2 cache cpu1: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative cpu1: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative cpu1: AMD erratum 721 detected and fixed cpu1: smt 0, core 1, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 21, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 2 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 5 (PEX0) acpiprt2 at acpi0: bus 6 (PEX1) acpiprt3 at acpi0: bus -1 (PEX2) acpiprt4 at acpi0: bus -1 (PEX3) acpiprt5 at acpi0: bus 4 (P2P_) acpiprt6 at acpi0: bus -1 (PCE2) acpiprt7 at acpi0: bus -1 (PCE3) acpiprt8 at acpi0: bus -1 (PCE4) acpiprt9 at acpi0: bus -1 (PCE5) acpiprt10 at acpi0: bus -1 (PCE6) acpiprt11 at acpi0: bus -1 (PCE7) acpiprt12 at acpi0: bus 2 (PCE9) acpiprt13 at acpi0: bus 3 (PCEA) acpiprt14 at acpi0: bus -1 (PCEB) acpiprt15 at acpi0: bus -1 (PCEC) acpiprt16 at acpi0: bus 1 (AGP_) acpicpu0 at acpi0: PSS acpicpu1 at acpi0: PSS acpibtn0 at acpi0: PWRB cpu0: 11252 MHz: speeds: 2800 2100 1600 800 MHz pci0 at mainbus0 bus 0 0:0:0: mem address conflict 0xe0000000/0x20000000 pchb0 at pci0 dev 0 function 0 "AMD RS880 Host" rev 0x00 ppb0 at pci0 dev 1 function 0 "AMD RS780 PCIE" rev 0x00 pci1 at ppb0 bus 1 radeondrm0 at pci1 dev 5 function 0 "ATI Radeon HD 4250" rev 0x00 drm0 at radeondrm0 radeondrm0: apic 2 int 18 azalia0 at pci1 dev 5 function 1 "ATI Radeon HD 4200 HD Audio" rev 0x00: msi azalia0: no supported codecs ppb1 at pci0 dev 9 function 0 "AMD RS780 PCIE" rev 0x00: msi pci2 at ppb1 bus 2 "NEC xHCI" rev 0x03 at pci2 dev 0 function 0 not configured ppb2 at pci0 dev 10 function 0 "AMD RS780 PCIE" rev 0x00: msi pci3 at ppb2 bus 3 re0 at pci3 dev 0 function 0 "Realtek 8168" rev 0x03: RTL8168D/8111D (0x2800), msi, address XXX rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2 ahci0 at pci0 dev 17 function 0 "ATI SBx00 SATA" rev 0x40: apic 2 int 19, AHCI 1.2 scsibus0 at ahci0: 32 targets sd0 at scsibus0 targ 0 lun 0: <ATA, SAMSUNG SSD 830, CXM0> SCSI3 0/direct fixed naa.5002538043584d30 sd0: 244198MB, 512 bytes/sector, 500118192 sectors, thin sd1 at scsibus0 targ 1 lun 0: <ATA, WDC WD10EADS-19M, 01.0> SCSI3 0/direct fixed naa.50014ee25a2d138a sd1: 953869MB, 512 bytes/sector, 1953525168 sectors cd0 at scsibus0 targ 4 lun 0: <Optiarc, DVD RW AD-7260S, 1.03> ATAPI 5/cdrom removable ohci0 at pci0 dev 18 function 0 "ATI SB700 USB" rev 0x00: apic 2 int 18, version 1.0, legacy support ehci0 at pci0 dev 18 function 2 "ATI SB700 USB2" rev 0x00: apic 2 int 17 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "ATI EHCI root hub" rev 2.00/1.00 addr 1 ohci1 at pci0 dev 19 function 0 "ATI SB700 USB" rev 0x00: apic 2 int 18, version 1.0, legacy support ehci1 at pci0 dev 19 function 2 "ATI SB700 USB2" rev 0x00: apic 2 int 17 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 "ATI EHCI root hub" rev 2.00/1.00 addr 1 piixpm0 at pci0 dev 20 function 0 "ATI SBx00 SMBus" rev 0x41: polling iic0 at piixpm0 spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-10600 spdmem1 at iic0 addr 0x51: 2GB DDR3 SDRAM PC3-10600 azalia1 at pci0 dev 20 function 2 "ATI SBx00 HD Audio" rev 0x40: apic 2 int 16 azalia1: codecs: Realtek/0x0892 audio0 at azalia1 pcib0 at pci0 dev 20 function 3 "ATI SB700 ISA" rev 0x40 ppb3 at pci0 dev 20 function 4 "ATI SB600 PCI" rev 0x40 pci4 at ppb3 bus 4 ath0 at pci4 dev 6 function 0 "Atheros AR2413" rev 0x01: apic 2 int 20 ath0: AR2413 7.8 phy 4.5 rf 5.6, FCC2A*, address XXX ohci2 at pci0 dev 20 function 5 "ATI SB700 USB" rev 0x00: apic 2 int 18, version 1.0, legacy support ppb4 at pci0 dev 21 function 0 "ATI SB800 PCIE" rev 0x00: msi pci5 at ppb4 bus 5 jmb0 at pci5 dev 0 function 0 "JMicron JMB368 IDE" rev 0x00 pciide0 at jmb0: DMA, channel 0 wired to native-PCI, channel 1 wired to native-PCI pciide0: using apic 2 int 17 for native-PCI interrupt pciide0: channel 0 disabled (no drives) pciide0: channel 1 disabled (no drives) ppb5 at pci0 dev 21 function 1 "ATI SB800 PCIE" rev 0x00: msi pci6 at ppb5 bus 6 ohci3 at pci0 dev 22 function 0 "ATI SB700 USB" rev 0x00: apic 2 int 18, version 1.0, legacy support ehci2 at pci0 dev 22 function 2 "ATI SB700 USB2" rev 0x00: apic 2 int 17 usb2 at ehci2: USB revision 2.0 uhub2 at usb2 "ATI EHCI root hub" rev 2.00/1.00 addr 1 pchb1 at pci0 dev 24 function 0 "AMD AMD64 10h HyperTransport" rev 0x00 pchb2 at pci0 dev 24 function 1 "AMD AMD64 10h Address Map" rev 0x00 pchb3 at pci0 dev 24 function 2 "AMD AMD64 10h DRAM Cfg" rev 0x00 km0 at pci0 dev 24 function 3 "AMD AMD64 10h Misc Cfg" rev 0x00 pchb4 at pci0 dev 24 function 4 "AMD AMD64 10h Link Cfg" rev 0x00 usb3 at ohci0: USB revision 1.0 uhub3 at usb3 "ATI OHCI root hub" rev 1.00/1.00 addr 1 usb4 at ohci1: USB revision 1.0 uhub4 at usb4 "ATI OHCI root hub" rev 1.00/1.00 addr 1 isa0 at pcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard pcppi0 at isa0 port 0x61 spkr0 at pcppi0 it0 at isa0 port 0x2e/2: IT8720F rev 8, EC port 0x228 usb5 at ohci2: USB revision 1.0 uhub5 at usb5 "ATI OHCI root hub" rev 1.00/1.00 addr 1 usb6 at ohci3: USB revision 1.0 uhub6 at usb6 "ATI OHCI root hub" rev 1.00/1.00 addr 1 umass0 at uhub1 port 5 configuration 1 interface 0 "Generic Mass Storage Device" rev 2.00/1.00 addr 2 umass0: using SCSI over Bulk-Only scsibus1 at umass0: 2 targets, initiator 0 sd2 at scsibus1 targ 1 lun 0: <Generic-, SD/MMC, 1.00> SCSI0 0/direct removable sd3 at scsibus1 targ 1 lun 1: <Generic-, Compact Flash, 1.01> SCSI0 0/direct removable sd4 at scsibus1 targ 1 lun 2: <Generic-, SM/xD-Picture, 1.02> SCSI0 0/direct removable sd5 at scsibus1 targ 1 lun 3: <Generic-, MS/MS-Pro, 1.03> SCSI0 0/direct removable uhidev0 at uhub4 port 1 configuration 1 interface 0 "Logitech USB-PS/2 Optical Mouse" rev 2.00/21.00 addr 2 uhidev0: iclass 3/1 ums0 at uhidev0: 8 buttons, Z dir wsmouse0 at ums0 mux 0 vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets root on sd0a (6de79c244a03d47a.a) swap on sd0b dump on sd0b drm: initializing kernel modesetting (RS880 0x1002:0x9715 0x1458:0xD000). radeondrm0: VRAM: 512M 0x00000000C0000000 - 0x00000000DFFFFFFF (512M used) radeondrm0: GTT: 512M 0x00000000A0000000 - 0x00000000BFFFFFFF ttm_pool_mm_shrink_init stub drm: PCIE GART of 512M enabled (table at 0x00000000C0040000). radeondrm0: 1680x1050 wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0 wsdisplay0: screen 1-5 added (std, vt100 emulation) acpi0: PM1 stuck (en 0x121 st 0x1), clearing |
|
|||
softdep is not the only mount option that can speed up disk access. There is also an option called noatime.
From mount(8) Code:
noatime Do not update atime on files in the system unless the mtime or ctime is being changed as well. This option is useful for laptops and news servers where one does not want the extra disk activity associated with updating the atime.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
Thank you both for your answers.
So i guess it's the fault of ffs then? Are there any reliable tools for access speed measuring? drm |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
speed | lumiwa | Off-Topic | 1 | 31st October 2012 01:33 PM |
Other The H Speed Guide to Lua | J65nko | News | 2 | 18th April 2012 01:09 AM |
BSD speed testing | rpindy | General software and network | 6 | 1st July 2010 01:30 AM |
FreeBSD + Disk speed | graudeejs | FreeBSD Installation and Upgrading | 9 | 19th November 2008 09:33 PM |
Disk geometry for Seagate disk | phreud | FreeBSD Installation and Upgrading | 5 | 8th November 2008 10:51 PM |