Skip to main content

How to speedup web server? Pls help!

More
19 years 1 day ago #11636 by nske
hmm.. If you tested your bandwidth and found it to be that different than the performance of your server, and that's not due to heavy traffic, then something strange must be happening! :? In this case I can't think of anything likely.

Techniques like packet prioritizing and class-based packet scheduling can improve things under conditions of heavy network traffic, like the case that you want to download/upload through FTP or P2P networks without affecting the performance of your server at the same time. However your router does not support QoS/Traffic Shapping so you would have to implement an other router (or PC acting as router) to try this. The same way, your ISP could be limiting the bandwidth for connections to your server if he wanted to, though I don't think he would do that.

You have verified the low performance of your server from multiple Internet sources, so it's not a client-side limitation, right?
Also is it possible to check the bandwidth utilization through your router's interface during the low-performance issue?
More
18 years 11 months ago #11697 by oldstudent

You have verified the low performance of your server from multiple Internet sources, so it's not a client-side limitation, right?


Sure! It's not a problem of clients.

Also is it possible to check the bandwidth utilization through your router's interface during the low-performance issue?


Unfortunately, my router doesn't support this feature. Maybe I have to consider another router!

Thanks for all your reply in my topic. :D

Never late to begin
More
18 years 11 months ago #11698 by nske
It doesn't seem easy to isolate the issue. Perhaps it is ISP traffic control after all! Do you know if any other client of the same ISP has a public server and faces the same problem?

Concerning the router, if you can find an old pentium pc and some time you could customize it as a gateway. It would have better features and power than any affordable router, at no price! ;)
More
18 years 11 months ago #11710 by saidfrh
NSKE is correct.

Get a router that can implement quality of service with priority queueing.

you would configure the router so that all internet user traffic web server, port 80 is given highest priority.

Other traffic such as Telnet and e-mail are allowed on the WAN link, but they are given lower priority than web server traffic.

For Cisco routers, weighted fair queing (WFQ) is the default queing mode on interfaces that run below E1, 2.048 mbps or less. Set priority queing for port 80 to high, and rest traffic to medium.
More
18 years 11 months ago #11772 by oldstudent

It doesn't seem easy to isolate the issue. Perhaps it is ISP traffic control after all! Do you know if any other client of the same ISP has a public server and faces the same problem?


As I don't know someone else who is facing this problem, I can't make sure that my ISP controls after all.

Concerning the router, if you can find an old pentium pc and some time you could customize it as a gateway. It would have better features and power than any affordable router, at no price! ;)


It sounds interesting! Can you give me any informations about this? Would we use OpenBSD and Linux for that computer?

Thanks!

Never late to begin
More
18 years 11 months ago #11779 by nske
You can do it with Linux, Openbsd and Freebsd equally well (and maybe with others too). There is also the option to use a user-friendly router-oriented linux distribution, that offers a windows administration interface too, Mikrotik , however it is not free. Personally I would choose Openbsd.

The procedure you would follow, is generally as following:

1) Configure your current modem to act as a bridge. Somewhere there has to be a create an "RFC1483 bridged connection" option or something like this.
2) Configure your new router, that will be connected to the newly bridged ethernet port of your modem, to perform the authentication to the provider and accept the IP address, through PPP. This can be done through a PPPoE client.
3) Configure your new router to do NAT and, optionally, packet filtering and traffic shaping.
4) Set the computers of your internal network to use the IP address of the router-pc as a gateway.

Notice that the router-pc should have two NIC (network itnerface cards), one connecting to the modem and one connecting to a switch -or directly to your PC if it's only one.

Information on how to implement this are included in
OpenBSD's FAQ (specifically in Point to Point Protocol section) and in FreeBSD's Handbook for OpenBSD and FreeBSD correspondingly. There are also plenty of unofficial guides, if you query google for i.e. "openbsd+pppoe" or "openbsd+dsl"

If you decide to do this let us know how it goes :)
Time to create page: 0.135 seconds