You are not logged in.

#1 2009-12-28 16:01:26

tehuel
Member
Registered: 2006-03-24
Posts: 6

Slow tranfer under X

Hi:

I`m runing arch64 with a wifi connection using an atheros card. (The same happens with Arch i686 and with Ubuntu)

The transfer rate on the lan is around 2 MB/s using sftp or ftp from the console. Transfer the same file under X teminal the speed is 300 KB/s. (The same happens with nautilus)

Any suggestions on this?

Thanks in advance.

Offline

#2 2009-12-29 15:08:10

tehuel
Member
Registered: 2006-03-24
Posts: 6

Re: Slow tranfer under X

UPDATE

I test the speed rate with an ethernet card using sftp.
I get 11 MB/s in the console without X and 7 MB in nautilus.


Any suggestions?

Thanks

Offline

#3 2009-12-29 20:01:51

ijanos
Member
From: Budapest, Hungary
Registered: 2008-03-30
Posts: 443

Re: Slow tranfer under X

This really dont makes a lot of a sense. I suggest more experimenting, start a looong transfer with guaranteed hight speed from console in a screen or tmux session, start X and attach it to an x terminal. What happanes? Or even better, ssh your machine from another one, start a transfer, start X and watch how the speed changes.

Offline

#4 2009-12-29 20:57:50

tehuel
Member
Registered: 2006-03-24
Posts: 6

Re: Slow tranfer under X

I know this is nonsense. I have done tests with different size files (700 - 100 - 50 MB).  I've even tried using wget and ftp commands with the same results.
When test from console, X was running in another terminal.
The difference is from where the transfer is executed, if from a pure console or terminal-console running on X.

I'm going crazy

Thanks in advance

Offline

#5 2009-12-29 23:19:27

ijanos
Member
From: Budapest, Hungary
Registered: 2008-03-30
Posts: 443

Re: Slow tranfer under X

so if you start from the console and the start X the speed stays the same? hm hm. check out the environment variables (env command) maybe something is there. start a login shell in the x terminals (bash -l) and test again.
Test every possible case you can imagine and correlate the results, hopefully a pattern shows up (i mean other than starting from X slows things down)

oh and always use the same test files from the same reliable server! if you are in europe pick a file from here: ftp://ftp.fsf.hu/testfiles

Offline

#6 2010-01-05 02:22:38

tehuel
Member
Registered: 2006-03-24
Posts: 6

Re: Slow tranfer under X

Yes, if I start from the console and then start X, the speed is the same.
No matter when I start X. The important thing is where I run the transfer (from console or from teminal under X).
The same for bash -l under X. Low rate speed.
All the tests I've done with the same file on the server on the lan.
I 've done a fresh install with the same results.

This is my env variables:

$ env
ORBIT_SOCKETDIR=/tmp/orbit-luis
SSH_AGENT_PID=2489
XDG_DATA_HOME=/home/luis/.local/share
TERM=xterm
SHELL=/bin/bash
XDG_SESSION_COOKIE=b7b145684e82d860d3db801f4b3a9fd4-1262606310.527755-713492387
HISTSIZE=1000
GTK_RC_FILES=/etc/gtk/gtkrc:/home/luis/.gtkrc-1.2-gnome2
WINDOWID=27388390
GTK_MODULES=canberra-gtk-module
USER=luis
GNOME_KEYRING_SOCKET=/tmp/keyring-0t3ehK/socket
SSH_AUTH_SOCK=/tmp/keyring-0t3ehK/socket.ssh
SESSION_MANAGER=local/tehuel:@/tmp/.ICE-unix/2471,unix/tehuel:/tmp/.ICE-unix/2471
OOO_FORCE_DESKTOP=gnome
USERNAME=luis
MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins
XDG_CONFIG_DIRS=/etc/xdg
DESKTOP_SESSION=gnome
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/bin/perlbin/core
PWD=/home/luis
INPUTRC=/etc/inputrc
JAVA_HOME=/usr/lib/jvm/java-6-openjdk
GDM_KEYBOARD_LAYOUT=us
LANG=en_US.UTF-8
GNOME_KEYRING_PID=2462
GDM_LANG=en_US.UTF-8
PS1=[\u@\h \W]\$
GDMSESSION=gnome
PS3=>
HISTCONTROL=erasedups
PS2=>
HOME=/home/luis
SHLVL=1
PS4=+
XDG_CONFIG_HOME=/home/luis/.config
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
XDG_CACHE_HOME=/home/luis/.cache
LOGNAME=luis
LESS=-R
XDG_DATA_DIRS=/usr/share:/usr/local/share
J2SDKDIR=/usr/lib/jvm/java-6-openjdk
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-wFO84EqddF,guid=57bbe5625c0464199f2564894b41d7e6
PKG_CONFIG_PATH=/usr/lib/pkgconfig
PROMPT_COMMAND=echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"
DISPLAY=:0.0
J2REDIR=/usr/lib/jvm/java-6-openjdk/jre
G_BROKEN_FILENAMES=1
XAUTHORITY=/var/run/gdm/auth-for-luis-ut4pvs/database
COLORTERM=gnome-terminal
_=/usr/bin/env


Thanks in advance

Offline

Board footer

Powered by FluxBB