Re: scp speed ffs/fat

2010-04-29 Thread shwegime

I'v just tried again from obsd, and now it goes at 2.3MB/s
Don't know what was on yesterday morning.
Sorry for noise.



Re: scp speed ffs/fat

2010-04-29 Thread shwegime
I've just tried to issue the same command from linux double booted on the 
same machine, and it gives me this speed:

2.4MB/s



Re: scp speed ffs/fat

2010-04-29 Thread shwegime

On Thu, 29 Apr 2010, Claudio Jeker wrote:


On Wed, Apr 28, 2010 at 08:50:45PM -0400, Brad Tilley wrote:

On Thu, 29 Apr 2010 07:09 +0800, shweg...@gmail.com wrote:

Transfering a file using scp into my home directory gives me this speed
(home netword): 658.8KB/s
while copying it directly into a usb stick (fat32) gives me this: 1.5MB/s

is it normal?


scp is encrypted and traveling across your network. Those things will
impact transfer speeds.



This does not realy matter here since using a usb stick gives double the
performance. The encryption overhead is not much of an issue these days
unless you run on a sparc, m68k or another system with 2 digit MHz speed.
Now if a dmesg would have been included we would know more. I blame it on
the disk or actually missing UDMA.

--
:wq Claudio



thanks for replying, it's a thinkpad x200

this is my dmesg:

OpenBSD 4.6 (GENERIC.MP) #89: Thu Jul  9 21:32:39 MDT 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Core(TM)2 Duo CPU P8400 @ 2.26GHz ("GenuineIntel" 
686-class) 2.27 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,SBF,SSE3,MWAIT,DS-CPL,

VMX,SMX,EST,TM2,CX16,xTPR
real mem  = 3176427520 (3029MB)
avail mem = 3076603904 (2934MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 05/18/09, BIOS32 rev. 0 @ 0xfdc80, 
SMBIOS rev. 2.4 @ 0xe0010 (68 entries)

bios0: vendor LENOVO version "6DET53WW (3.03 )" date 05/18/2009
bios0: LENOVO 7457AC1
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET SLIC BOOT ASF! SSDT TCPA 
DMAR SSDT SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP0(S4) EXP1(S4) 
EXP2(S4) EXP3(S4) USB0(S3) USB3(S3) USB5(S3) EHC0(S3) EHC1(S3) HDEF(S4)

acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 266MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU P8400 @ 2.26GHz ("GenuineIntel" 
686-class) 2.27 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,SBF,SSE3,MWAIT,DS-CPL,

VMX,SMX,EST,TM2,CX16,xTPR
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus -1 (EXP2)
acpiprt5 at acpi0: bus 5 (EXP3)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpipwrres0 at acpi0: PUBS
acpitz0 at acpi0: critical temperature 127 degC
acpitz1 at acpi0: critical temperature 104 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model "42T4646" serial  4612 type LION oem "SANYO"
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit offline
acpithinkpad0 at acpi0
acpidock0 at acpi0: GDCK not docked (0)
bios0: ROM list: 0xc/0x1! 0xd/0x1000 0xd1000/0x1000 
0xd2000/0x1000 0xde000/0x1800! 0xe/0x1

cpu0: Enhanced SpeedStep 2262 MHz: speeds: 2267, 2266, 1600, 800 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel GM45 Host" rev 0x07
vga1 at pci0 dev 2 function 0 "Intel GM45 Video" rev 0x07
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xd000, size 0x1000
inteldrm0 at vga1: apic 1 int 16 (irq 11)
drm0 at inteldrm0
"Intel GM45 Video" rev 0x07 at pci0 dev 2 function 1 not configured
"Intel GM45 HECI" rev 0x07 at pci0 dev 3 function 0 not configured
pciide0 at pci0 dev 3 function 2 "Intel GM45 PT IDER" rev 0x07: DMA 
(unsupported), channel 0 wired to native-PCI, channel 1 wired to 
native-PCI

pciide0: using apic 1 int 18 (irq 11) for native-PCI interrupt
pciide0: channel 0 ignored (not responding; disabled or no drives?)
pciide0: channel 1 ignored (not responding; disabled or no drives?)
"Intel GM45 AMT SOL" rev 0x07 at pci0 dev 3 function 3 not configured
em0 at pci0 dev 25 function 0 "Intel ICH9 IGP M AMT" rev 0x03: apic 1 int 
20 (irq 11), address 00:1f:16:1f:da:e3
uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x03: apic 1 int 20 
(irq 11)
uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x03: apic 1 int 21 
(irq 11)
uhci2 at pci0 dev 26 function 2 "Intel 82801I USB" rev 0x03: apic 1 int 22 
(irq 11)
ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x03: apic 1 int 23 
(irq 11)

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 82801I HD Audio" rev 0x03: apic 1 
int 17 (irq 11)

azalia0: codecs: Conexant CX20561
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801I PCIE" rev 0x03: apic 1 int 20 
(irq 11)

pci1 a

Re: scp speed ffs/fat

2010-04-28 Thread Claudio Jeker
On Wed, Apr 28, 2010 at 08:50:45PM -0400, Brad Tilley wrote:
> On Thu, 29 Apr 2010 07:09 +0800, shweg...@gmail.com wrote:
> > Transfering a file using scp into my home directory gives me this speed 
> > (home netword): 658.8KB/s
> > while copying it directly into a usb stick (fat32) gives me this: 1.5MB/s
> > 
> > is it normal?
> 
> scp is encrypted and traveling across your network. Those things will
> impact transfer speeds.
> 

This does not realy matter here since using a usb stick gives double the
performance. The encryption overhead is not much of an issue these days
unless you run on a sparc, m68k or another system with 2 digit MHz speed.
Now if a dmesg would have been included we would know more. I blame it on
the disk or actually missing UDMA.

-- 
:wq Claudio



Re: scp speed ffs/fat

2010-04-28 Thread Brad Tilley
On Thu, 29 Apr 2010 07:09 +0800, shweg...@gmail.com wrote:
> Transfering a file using scp into my home directory gives me this speed 
> (home netword): 658.8KB/s
> while copying it directly into a usb stick (fat32) gives me this: 1.5MB/s
> 
> is it normal?

scp is encrypted and traveling across your network. Those things will
impact transfer speeds.

> This is the fstab entry of home:
> /dev/sd0h /home ffs rw,nodev,nosuid,softdep 1 2
> 
> tks
> Still on 4.6, I'm a lazy -release user...



scp speed ffs/fat

2010-04-28 Thread shwegime
Transfering a file using scp into my home directory gives me this speed 
(home netword): 658.8KB/s

while copying it directly into a usb stick (fat32) gives me this: 1.5MB/s

is it normal?
This is the fstab entry of home:
/dev/sd0h /home ffs rw,nodev,nosuid,softdep 1 2

tks
Still on 4.6, I'm a lazy -release user...