Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Nov 2004 09:19:57 -0800
From:      Aaron Glenn <aaron.glenn@gmail.com>
To:        CHOI Junho <cjh@kr.freebsd.org>
Cc:        freebsd-performance@freebsd.org
Subject:   Re: I've ran out of ideas
Message-ID:  <18f6019404111809195ec88089@mail.gmail.com>
In-Reply-To: <20041118.195854.85380612.cjh@kr.FreeBSD.org>
References:  <18f6019404111801471db5bbfd@mail.gmail.com> <20041118.195854.85380612.cjh@kr.FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Unless there is something of interest to the project, I can't. I don't
have a spare box of it's kind, unfortunately, and I have zero interest
in using 4.x for anything. Would a move to Apache 1.3 or Apache 2
better utilize 5.x?

aaron.glenn


On Thu, 18 Nov 2004 19:58:54 +0900 (KST), CHOI Junho <cjh@kr.freebsd.org> wrote:
> 
> Can you test it on 4.x machines? I think 5.x is not stable/optimized
> for kqueue operations of thttpd.
> 
> If you have sufficient(not swapping) memory, you can do 100Mbps/sec
> easily, as long as on 4.x.
> 
> And, check several sysctls: somaxconn, mbuf, and polling.
> 
> From: Aaron Glenn <aaron.glenn@gmail.com>
> Subject: I've ran out of ideas
> Date: Thu, 18 Nov 2004 01:47:17 -0800
> 
> 
> 
> > I'm pushing large files via thttpd over low-end hardware (celeron
> > 1.8GHz, 512MB RAM, UATA 100 drive) and, out of the box, FreeBSD
> > 5.3-RELEASE topped out at 40Mbps sustained. After creating a separate
> > partition with a much larger blocksize, it's hit 50Mbps sustained but
> > won't go past 54Mbps at all.
> >
> > iostat shows the drive pushing 3.5MB/s pretty consistently. There are
> > on average 750 http connections. Interrupts take 12% of the CPU,
> > according to top, and another 2% for thttpd itself. The box doesn't
> > swap.
> >
> > My dmesg is inexplicably gone...which I realize is going to seriously
> > hamper any constructive input. It is an fxp card, and the IDE
> > controller is a generic Intel controller (the motherboard is an old
> > gateway desktop pull). The /var/log/messages file is filled with:
> >
> > Nov 18 04:00:15 d thttpd[38743]: write - Socket is not connected
> > sending /path/to/file.name
> >
> > I'd like to know what else I can to do maximize raw network I/O. I
> > don't see why this box can't push 90Mbps. My good friend, colleague,
> > and Linux zealot, is eating this up. (-:
> >
> > Regards,
> > aaron.glenn
> > _______________________________________________
> > freebsd-performance@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-performance
> > To unsubscribe, send any mail to "freebsd-performance-unsubscribe@freebsd.org"
> 
> --
> CHOI Junho <http://www.kr.FreeBSD.org/~cjh>;     cjh@[kr.]FreeBSD.org
> Key fingerprint = 1369 7374 A45F F41A F3C0  07E3 4A01 C020 E602 60F5
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?18f6019404111809195ec88089>