Article delegate-en/1219 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]

Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: Very slow ftp uploads
26 Jun 2001 08:55:42 GMT pxycabdyi-bfkmicg76c3r.ml@ml.delegate.org


Hi Yutaka!

First of all, thank you very much for the patch instuctions!

I will try to patch the source and recompile as soon as i arrive at work and
then try it again to upload files. If it donエt succeed i will contact you
tomorrow with more detailed informations! (like a full -vv output of
delegated when a ftp sessions is created and the transfer started)

Bye, Egon

|> -----Original Message-----
|> From: feedback@delegate.org [mailto:feedback@delegate.org]
|> Sent: Tuesday, June 26, 2001 9:30 AM
|> To: feedback@delegate.org
|> Cc: Egon.Rath@lsr-ooe.gv.at; feedback@delegate.org
|> Subject: Re: [DeleGate-En] Very slow ftp uploads
|> 
|> 
|> Hi,
|> 
|> In message 
|> <C96996C3D753D311A5400001FAF86B250110293D@ntli02-004.lsr-ooe.
|> gv.at> on 06/26/01(15:53:56)
|> you pxycabdyi-bfkmicg76c3r.ml@ml.delegate.org wrote:
|>  |I am running the latest delegated on a FreeBSD 4.3-STABLE 
|> Box. When i run
|>  |delegated with -v -v i see the messages like these 
|> appearing on the screen:
|>  |
|>  |out:32768->65536
|>  |    09/23 05:47:26.52 [26680] 3+0/12: NICE-1 72K/2/13.91s 
|> 36864/p 5302/s
|>  |buf=65536(65536)
|>  |    09/23 05:47:29.53 [26680] 3+0/12: NICE-2 136K/4/16.91s 
|> 34816/p 8233/s
|>  |buf=65536(65536)
|>  |    09/23 05:48:11.54 [26680] 3+0/12: NICE-3 264K/8/58.93s 
|> 33792/p 4587/s
|>  |buf=65536(65536)
|>  |    09/23 05:52:53.54 [26680] 3+0/12: NICE-4 
|> 520K/16/340.93s 33280/p 1561/s
|>  |buf=65536(30720)
|>  |
|>  |till the upload was completed.
|>  |
|>  |The machine currently is running in a test environment 
|> with no load at all.
|>  |There is only one delegated running which job is only to 
|> listen to address
|>  |192.168.2.101 on port 21 and forward it to an FTP on 192.168.1.101
|>  |(Dual-Homed Machine)
|> 
|> Firstly, disabling nice() in iotimeout:doNice() function, 
|> like follows,
|> might change the situation.
|> 
|> *** ../../delegate7.3.2/src/iotimeout.c	Sun Mar 11 00:11:31 2001
|> --- iotimeout.c	Tue Jun 26 16:09:26 2001
|> ***************
|> *** 510,516 ****
|> --- 510,518 ----
|>   	if( 10 <= (now - since) )
|>   	if( niced < MAX_NICE_VALUE && (0x010000 << niced) < bytes ){
|>   		niced += 1;
|> + /*
|>   		nice(1);
|> + */
|>   
|>   		bsize = ((int)((bytes/elapsed) * 
|> MAX_NICE_SLEEP*2)) & ~0x3FF;
|>   		if( bsize == 0 )
|> 
|> If not, commenting doNice() in ftp.c:FTP_data_relay() function might
|> be effective.
|> 
|> Cheers,
|> Yutaka
|> --
|>   @ @ Yutaka Sato <y.sato@delegate.org> 
|> http://www.delegate.org/y.sato/
|>  ( - ) National Institute of Advanced Industrial Science and 
|> Technology (AIST)
|> _<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
|> 

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V