Re: Server behind Cisco router - bad performances

2010-02-09 Thread Sebastiano Pomata
On Tue, 2010-02-09 at 14:32 -0200, Christiano F. Haesbaert wrote: > When you use UDP, you're seeing the results on the client or in the server ? > > iperf uses busy-waiting to implement flow-control in UDP, so basically > if you specify an absurd rate transfer, the client will try to deliver > at

Server behind Cisco router - bad performances

2010-02-09 Thread Sebastiano Pomata
Hi all, back again trying to debug causes of bad performances in my lab's network. I tried to place two boxes behind a Cisco router (no information on model, sorry), the first with OpenBSD 4.6 and the second one with Linux Ubuntu 9.04. I used iperf to measure bandwidth, in particular the two box

Re: Download rate and sysctl settings

2010-02-08 Thread Sebastiano Pomata
Il 06/02/10 19:43, Claudio Jeker ha scritto: Thank you for the clear answer. Anyway, trying to act on tcp.sendspace isn't affecting the upload capabilities of my OpenBSD server. I tried downloading a file through httpd, via ftp but results are still disappointing: 60-70 kbp

Re: Download rate and sysctl settings

2010-02-08 Thread Sebastiano Pomata
On Mon, 8 Feb 2010 11:37:11 +0100 (GMT+01:00) Vincent Tamet wrote: > Hi, by the way strange mac-adresse, oui search show a cisco systems > mac one... > > > Just logged through ssh on the server, ifconfig reports: > > > > > > re0: flags=8843 mtu 1500 > > > lladdr 00:b0:c2:02:5e:a0 > > >

Re: Download rate and sysctl settings

2010-02-08 Thread Sebastiano Pomata
On Sat, 6 Feb 2010 19:43:54 +0100 Claudio Jeker wrote: > > >> Thank you for the clear answer. Anyway, trying to act on > > >> tcp.sendspace isn't affecting the upload capabilities of my > > >> OpenBSD server. I tried downloading a file through httpd, via > > >> ftp but results are still disappoin

Re: Download rate and sysctl settings

2010-02-06 Thread Sebastiano Pomata
Il 06/02/10 18:45, James Peltier ha scritto: > Have you tried another network card, like an Intel (em) based > card? The Realtek cards have, at least in the past, been poor performers for > me. > __ I have only available another eth

Re: Download rate and sysctl settings

2010-02-06 Thread Sebastiano Pomata
Il 06/02/10 17:33, Kenneth R Westerback ha scritto: > Optimally you now need to check what the switch port is > configured/negotiated to. e.g. if it has ended up in 10/half you > have a problem. Ditto for the connections for the other device. > > If you have no access to the switch you can try eve

Re: Download rate and sysctl settings

2010-02-06 Thread Sebastiano Pomata
Il 06/02/10 15:12, Claudio Jeker ha scritto: > On Sat, Feb 06, 2010 at 01:27:12PM +0100, Sebastiano Pomata wrote: >> Il 06/02/10 03:55, Stuart Henderson ha scritto: >>>> I really can understand this, for the sake of system portability and so >>>> on. Anyway, I real

Re: Download rate and sysctl settings

2010-02-06 Thread Sebastiano Pomata
Il 06/02/10 15:12, Claudio Jeker ha scritto: > On Sat, Feb 06, 2010 at 01:27:12PM +0100, Sebastiano Pomata wrote: >> Il 06/02/10 03:55, Stuart Henderson ha scritto: >>>> I really can understand this, for the sake of system portability and so >>>> on. Anyway, I real

Re: Download rate and sysctl settings

2010-02-06 Thread Sebastiano Pomata
Il 06/02/10 03:55, Stuart Henderson ha scritto: >> I really can understand this, for the sake of system portability and so >> on. Anyway, I really hardly understand why, without touching any of the >> default settings, download rate from every server would never overcome >> the value of 400 kB/s. I

Re: Download rate and sysctl settings

2010-02-05 Thread Sebastiano Pomata
Il 05/02/10 16:11, Ted Unangst ha scritto: > On Fri, Feb 5, 2010 at 4:36 AM, Ivo Chutkin wrote: >> I was about to post the same topic here. >> I observe 250K/s on any OpenBSD server in my network, versions 4.2, 4.4, 4.5 >> and 4.6, various hardware, using wget -O /dev/null >> I can start the same

Re: Download rate and sysctl settings

2010-02-05 Thread Sebastiano Pomata
On Fri, 5 Feb 2010 10:39:03 +0100 Claudio Jeker wrote: > On Fri, Feb 05, 2010 at 08:59:44AM +0100, Sebastiano Pomata wrote: > > On Fri, 5 Feb 2010 02:05:49 + (UTC) > > Stuart Henderson wrote: > > > > > On 2010-02-04, Sebastiano Pomata > > > wrote:

Re: Download rate and sysctl settings

2010-02-05 Thread Sebastiano Pomata
On Fri, 5 Feb 2010 02:05:49 + (UTC) Stuart Henderson wrote: > On 2010-02-04, Sebastiano Pomata wrote: > > As doublechecking, I tried with another fast server inside the wan > > network of our academy, and I'm getting almost the same results > > (while absolute

Re: Download rate and sysctl settings

2010-02-04 Thread Sebastiano Pomata
lues are almost the same I edited), still not having clear why on default OpenBSD the transfer rates are so low. thank you all Il 04/02/2010 21.36, Jean-Francois ha scritto: > Le jeudi 04 fivrier 2010 20:00:54, Sebastiano Pomata a icrit : >> If I may ask, I post to the list this questi

Download rate and sysctl settings

2010-02-04 Thread Sebastiano Pomata
If I may ask, I post to the list this question (I have no purpose on creating flames/trolls/os wars, just for my personal knowledge). On the same box (Core 2 Duo, Realtek Gigabit ethernet) I've performed today this simple test, downloading a big file from wu-wien FTP site (it's one of OpenBSD main

Re: raidctl and reconstruction failure

2010-01-21 Thread Sebastiano Pomata
Il 20/01/10 18:18, MERIGHI Marcus ha scritto: > Hello Sebastiano, > > I once got it going by adding the failed component to dev as a spare > (raidctl -a component dev). After rebooting the component was not a > spare anymore but turned to the live component (automagically > recognised?!) again, w

Re: trac on OpenBSD current

2010-01-21 Thread Sebastiano Pomata
Il 21/01/10 01:38, Robert ha scritto: > On Thu, 21 Jan 2010 00:31:58 +0100 > Sebastiano Pomata wrote: > >> I can't understand how to get the latest version of trac from the >> ports. I downloaded just today the whole ports tree for OpenBSD, but I >> can only

Re: trac on OpenBSD current

2010-01-20 Thread Sebastiano Pomata
I can't understand how to get the latest version of trac from the ports. I downloaded just today the whole ports tree for OpenBSD, but I can only find trac version 0.11.4, while openports.se states that there's a 0.11.6 port version. Where can I find it? I thought that connecting through AnonCVS t

Re: raidctl and reconstruction failure

2010-01-19 Thread Sebastiano Pomata
In the man page it says that after a failure, you can issue "raidctl -R /dev/faileddisk raid0" and it will begin reconstruction. But in my case it exits almost immediately, freezing the system. A parity rewrite neither can be done, since it exits giving an ioctl failure (disk is shown as failed s

Re: dav_svn for subversion

2010-01-18 Thread Sebastiano Pomata
Thank you. Feel like a newbie (and maybe I am), but in ports/www I didn't found anything, and google wasn't more helpful Il 18/01/10 23:16, Stuart Henderson ha scritto: > On 2010-01-18, Sebastiano Pomata wrote: >> Hi, >> >> I'm getting stuck trying

Re: php5-core and apache2

2010-01-18 Thread Sebastiano Pomata
Til now, I managed to build php5-core and php5-extensions and they seem to work. Thank you Il 18/01/2010 15.47, Robert Nagy ha scritto: > Hi > > Those packages are built for our in tree apache. > > You can try to modify core/Makefile and extensions/Makefile > to point to apache2's apxs and not

dav_svn for subversion

2010-01-18 Thread Sebastiano Pomata
Hi, I'm getting stuck trying to obtain mod_dav_svn. I'm compiling subversion from the ports tree (version 1.6.1), the flavor is the default so it should come with apache2 support, then I install the package normally but no trace of dav_svn.so file. How can I specify the correct path to apxs2 (tho

Re: trac on OpenBSD current

2010-01-16 Thread Sebastiano Pomata
After installing the package, pkg_add suggests to run the trac standalone server, so I think I will stick with it for trac, while keeping apache chrooted for other websites. I think my trac project it's simple enough that I don't need FastCGI option Thank you Il 16/01/2010 15.31, Stuart Henderso