msgid CAJO05K02bX+YsbbW6aT1G3mBALt3=TgMPifKeJFWHMtim=k...@mail.gmail.com
Thanks for your replies. :)

On 15/12/2013 18:54, Nick Holland wrote:
> Would be interesting to try your test on a non-nvidia machine.

I do the same test on an intel based machine and, effectively, there
is an improvement: it tooks ~12min to achieve the installation (I add
the dmesg of that machine at the end of this mail).


On 15/12/2013 18:54, Nick Holland wrote:
> Keep in mind, dividing total package size by time required produces a
> number with units of "bytes of packages installed per second", which is
> not overly interesting, and VERY different from "bytes written per
> second", as a lot of work goes into a package install beyond a single
> linear file write.

Yes, sorry.
Here is the bytes/sec average of the two machines (respectively, nvidia
based and intel based) obtain when writing a 256Mo file:

# dd if=/dev/zero of=/home/jerome/buf bs=4k count=65535
65535+0 records in
65535+0 records out
268431360 bytes transferred in 33.194 secs (8086542 bytes/sec)
# umount /home
# mount /home
# dd if=/home/jerome/buf of=/var/tmp/buf
524280+0 records in
524280+0 records out
268431360 bytes transferred in 65.854 secs (4076129 bytes/sec)

# dd if=/dev/zero of=/home/jerome/buf bs=4k count=65535
65535+0 records in
65535+0 records out
268431360 bytes transferred in 38.509 secs (6970545 bytes/sec)
# umount /home
# mount /home
# dd if=/home/jerome/buf of=/var/tmp/buf
524280+0 records in
524280+0 records out
268431360 bytes transferred in 51.639 secs (5198138 bytes/sec)


On 15/12/2013 18:54, Nick Holland wrote:
> First of all... USB isn't fast, flash is not fast.

Ok, so it is normal that it tooks ~12min (on the intel based machine)
to install all the packages listed previously ?


On 15/12/2013 18:54, Nick Holland wrote:
> you *MIGHT* find a small improvement if your OpenbSD partition is
> aligned to a 4k (8 sector) count.  Would be interesting, I would bet it
> wouldn't be "human noticable" (i.e., at least 2x performance), but might
> be statistically significant.  And I might be wrong -- it might be
> noticable.

Thanks for this advice, I will keep it in mind for a future installation.


On 15/12/2013 22:58, Jan Lambertz wrote:
> you didnt post your /etc/fstab, so i can only assume your mounting.
> if you want a fast openbsd usb stick consider using MFS and options like
> noatime,softdeps.

Sorry, I forgot it.
I also add it at the end of this mail.

Kind regards,

Jérôme.


-----------------------------------------------------------------------

# cat /etc/fstab
5f3fafcf8302435d.b none swap sw
5f3fafcf8302435d.a / ffs noatime,rw,softdep 1 1
5f3fafcf8302435d.f /home ffs noatime,rw,softdep,nodev,nosuid 1 2
5f3fafcf8302435d.e /usr ffs noatime,rw,softdep,nodev 1 2
5f3fafcf8302435d.d /var ffs noatime,rw,softdep,nodev,nosuid 1 2
swap /var/log mfs rw,async,nodev,nosuid,-s=64m 0 0
swap /tmp mfs rw,async,nodev,nosuid,-s=64m 0 0

# dmesg # of the intel based machine
OpenBSD 5.4 (GENERIC.MP) #44: Tue Jul 30 12:13:32 MDT 2013
    dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Celeron(R) CPU B830 @ 1.80GHz ("GenuineIntel" 686-class) 1.80 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,XSAVE,LAHF,PERF,ITSC
real mem  = 2006949888 (1913MB)
avail mem = 1962696704 (1871MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 12/22/11, SMBIOS rev. 2.7 @ 0xeb220 (42 
entries)
bios0: vendor American Megatrends Inc. version "4.6.5" date 07/21/2012
bios0: CLEVO CO. W55xEU
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT MCFG SSDT HPET SSDT SSDT SSDT ASF! BGRT
acpi0: wakeup devices P0P1(S4) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB5(S3) 
USB6(S3) USB7(S3) PXSX(S5) RP01(S4) PXSX(S5) RP03(S4) PXSX(S5) RP04(S4) 
JMC2(S4) JMC3(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 99MHz
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Celeron(R) CPU B830 @ 1.80GHz ("GenuineIntel" 686-class) 1.80 GHz
cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,XSAVE,LAHF,PERF,ITSC
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (RP01)
acpiprt2 at acpi0: bus 2 (RP03)
acpiprt3 at acpi0: bus 3 (RP04)
acpiprt4 at acpi0: bus 4 (RP05)
acpiprt5 at acpi0: bus -1 (RP06)
acpiec0 at acpi0
acpicpu0 at acpi0: C2, C1, PSS
acpicpu1 at acpi0: C2, C1, PSS
acpitz0 at acpi0: critical temperature is 120 degC
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: SLPB
acpibtn2 at acpi0: LID0
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT0 not present
acpidock0 at acpi0: DOCK not docked (0)
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: LCD0
bios0: ROM list: 0xc0000/0xf000 0xcf000/0x1000
cpu0: Enhanced SpeedStep 1796 MHz: speeds: 1800, 1700, 1600, 1500, 1400, 1300, 
1200, 1100, 1000, 900, 800 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel Core 2G Host" rev 0x09
vga1 at pci0 dev 2 function 0 "Intel HD Graphics 2000" rev 0x09
intagp0 at vga1
agp0 at intagp0: aperture at 0xe0000000, size 0x10000000
inteldrm0 at vga1
drm0 at inteldrm0
inteldrm0: 1366x768
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
"Intel 7 Series xHCI" rev 0x04 at pci0 dev 20 function 0 not configured
"Intel 7 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
ehci0 at pci0 dev 26 function 0 "Intel 7 Series USB" rev 0x04: apic 2 int 16
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 7 Series HD Audio" rev 0x04: msi
azalia0: codecs: VIA/0x8446, Intel/0x2806, using VIA/0x8446
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 7 Series PCIE" rev 0xc4: apic 2 int 16
pci1 at ppb0 bus 1
ppb1 at pci0 dev 28 function 2 "Intel 7 Series PCIE" rev 0xc4: apic 2 int 18
pci2 at ppb1 bus 2
vendor "Intel", unknown product 0x0887 (class network subclass miscellaneous, 
rev 0xc4) at pci2 dev 0 function 0 not configured
ppb2 at pci0 dev 28 function 3 "Intel 7 Series PCIE" rev 0xc4: apic 2 int 19
pci3 at ppb2 bus 3
vendor "Realtek", unknown product 0x5289 (class undefined unknown subclass 
0x00, rev 0x01) at pci3 dev 0 function 0 not configured
re0 at pci3 dev 0 function 2 "Realtek 8168" rev 0x0a: RTL8411 (0x4880), apic 2 
int 19, address 00:90:f5:d8:8a:4e
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 5
ppb3 at pci0 dev 28 function 4 "Intel 7 Series PCIE" rev 0xc4: apic 2 int 16
pci4 at ppb3 bus 4
ehci1 at pci0 dev 29 function 0 "Intel 7 Series USB" rev 0x04: apic 2 int 23
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
pcib0 at pci0 dev 31 function 0 "Intel HM77 LPC" rev 0x04
ahci0 at pci0 dev 31 function 2 "Intel 7 Series AHCI" rev 0x04: msi, AHCI 1.3
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: <ATA, ST160LM003 HN-M1, 2AR1> SCSI3 0/direct 
fixed naa.50004cf206b8d86c
sd0: 152627MB, 512 bytes/sector, 312581808 sectors
cd0 at scsibus0 targ 2 lun 0: <TSSTcorp, CDDVDW SU-208BB, TC00> ATAPI 5/cdrom 
removable
ichiic0 at pci0 dev 31 function 3 "Intel 7 Series SMBus" rev 0x04: apic 2 int 18
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-12800 SO-DIMM
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pms0: Synaptics touchpad, firmware 7.2
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
mtrr: Pentium Pro MTRR support
uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
uvideo0 at uhub2 port 1 configuration 1 interface 0 "Chicony Electronics 
Co.,Ltd Chicony USB 2.0 Camera" rev 2.00/91.59 addr 3
video0 at uvideo0
uhidev0 at uhub2 port 2 configuration 1 interface 0 "PIXART USB OPTICAL MOUSE" 
rev 1.10/1.00 addr 4
uhidev0: iclass 3/1
ums0 at uhidev0: 3 buttons, Z dir
wsmouse1 at ums0 mux 0
umass0 at uhub2 port 3 configuration 1 interface 0 "Kingston DataTraveler G3" 
rev 2.00/1.00 addr 5
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets, initiator 0
sd1 at scsibus1 targ 1 lun 0: <Kingston, DataTraveler G3, 1.00> SCSI2 0/direct 
removable serial.09511643FCB129150E30
sd1: 29510MB, 512 bytes/sector, 60437492 sectors
uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd1a (5f3fafcf8302435d.a) swap on sd1b dump on sd1b

Reply via email to