DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
Old 1st August 2012
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,873
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by daemonfowl View Post
It's a star : router provides internet access to 5 machines...
This isn't a network diagram, but we have seen before that getting information from you (even when requested several times...) is like plugging teeth with a pair of pliers.

If you were really interested in finding out the cause of any slowness experienced, I would suggest testing either with a different intermediate device or better yet, simply use a cross-over cable (which is not the same as a straight cable used to connect to your router device...), & simply connect the client directly to the server. Again, the point is to reduce the number of variables involved.
Reply With Quote
Old 3rd August 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default

Hi ocicat ! good news .. I've done exactly what you prescribed : a fresh OpenBSD install on both machines (Acer Aspire & iBook ) .. wired connection .. result was : very fast FTP serving . Here is my network diagram :

Network ----> Router (192.168.1.1 )
------> Acer aspire [bce0] (192.168.1.2 netmask 255.25.255.0) as FTP server

------> iBook [gem0] (192.168.1.3 netmask 255.255.255.0) as FTP client

I run Ftpd as daemon not via inetd.
/etc/rc.conf.local line :
Code:
ftpd_flags="-DllUSA"
I'll see if the same speed is gained with wpi0 (Acer Ftp server) ----> rum0 (iBook Ftp client) .. if it's the same then maybe remain : ftpproxy and pf.conf to suspect .
Reply With Quote
Old 3rd August 2012
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,873
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by daemonfowl View Post
a fresh OpenBSD install on both machines (Acer Aspire & iBook ) .. wired connection .. result was : very fast FTP serving .
So simplication worked.

Perhaps now you can see where you can use this technique in the future to solve other problems.
Reply With Quote
Old 3rd August 2012
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,873
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by daemonfowl View Post
Here is my network diagram :

Network ----> Router (192.168.1.1 )
------> Acer aspire [bce0] (192.168.1.2 netmask 255.25.255.0) as FTP server

------> iBook [gem0] (192.168.1.3 netmask 255.255.255.0) as FTP client
I freely recognize that vBulletin reformats text, & this makes creating diagrams challenging. However, showing how all devices interconnect only takes patience & repeatedly pressing "Preview Post" using a [code] block. Your diagram can be vastly improved as follows:
Code:
router (192.168.1.1/24) ------ (bce0) Acer Aspire
    |                      192.168.1.2/24
    |
  (gem0) iBook
192.168.1.3/24
Here, it is more clear that packets travel from your iBook's gem0 interface to your Acer's bce0 interface through some consumer router device.
  • Don't use arrowheads since communication should be bi-directional (full-duplex).
  • If you are unfamiliar with CIDR notation (ie. 192.168.1.2/24), it simplifies how to specify the network mask. Numerous explanations can be found throughout the Internet. eg. http://en.wikipedia.org/wiki/Cidr

Last edited by ocicat; 4th August 2012 at 12:32 AM. Reason: add clarity
Reply With Quote
Old 4th August 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default

Yes ocicat , reducing things to basic is useful , however I'm still uncertain about what caused that 'Waiting for Godot' ;-)
& thank you so much for your helpful hints !!!
Reply With Quote
Old 4th August 2012
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,873
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by daemonfowl View Post
I'm still uncertain about what caused that 'Waiting for Godot' ;-)
You are missing the point.

Now that you have a configuration which exhibits behavior which appears acceptable, add new variables (wireless, etc.) one at a time testing after each addition.

If you add everything all at once as it was before, you will have little to no idea as to what is the root cause of your previous performance issue(s). If you are patient enough to iteratively add a single variable back into your network followed by testing, you will possibly discover:
  • what variable may be the root cause.
  • If after having added everything back, the original problem is not seen again, this points out that your original OS configurations were bad.
At this point, finding the root cause is your responsibility.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
DSL throughput slow. Is it the firewall? thefronny OpenBSD Security 5 27th October 2011 02:00 PM
Does anyone know why Gnome is so slow on BSD? TerryP General software and network 11 27th August 2010 06:06 PM
Why is FreeBSD dd so slow? sharris FreeBSD General 10 18th June 2010 08:33 AM
slow io from hdd knasbas OpenBSD General 3 25th July 2009 02:51 AM
Daemonforums very slow, times out a lot Weaseal Feedback and Suggestions 15 16th May 2008 12:44 AM


All times are GMT. The time now is 05:24 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick