Re: Help! FreeBSD: 88.78 KBps, Linux: 624.95 KBps
On 7/11/07, Norbert Papke [EMAIL PROTECTED] wrote: On July 10, 2007, Kyrre Nygård wrote: Hello. My friend is switching to Linux because FreeBSD is failing on him. When downloading a file from a FreeBSD box and a Linux box on the same network, the FreeBSD box got 88.78 KBps whereas the Linux got 624.95 Kbps. I have no idea what's wrong, but my man isn't really into good information design (e.g. taking something complex and making it easy), so his system is a mess. Maybe some of you can help me locate where the problem's at? Are we comparing apples to oranges? 88.78 KBps (kilo bytes per second) = 710.24 Kbps (kilo bits per second) If this is true, then the FreeBSD box is faster :) Cheers. Hahaha! Nice catch Norbert, and good reading eyes ;) -- Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Help! FreeBSD: 88.78 KBps, Linux: 624.95 KBps
On 7/10/07, Kyrre Nygård [EMAIL PROTECTED] wrote: Hello. My friend is switching to Linux because FreeBSD is failing on him. When downloading a file from a FreeBSD box and a Linux box on the same network, the FreeBSD box got 88.78 KBps whereas the Linux got 624.95 Kbps. I have no idea what's wrong, but my man isn't really into good information design (e.g. taking something complex and making it easy), so his system is a mess. Maybe some of you can help me locate where the problem's at? Thanks guys, Kyrre Could you please show the uname -a info? -- Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Help! FreeBSD: 88.78 KBps, Linux: 624.95 KBps
On 7/10/07, Kyrre Nygård [EMAIL PROTECTED] wrote: Hello. My friend is switching to Linux because FreeBSD is failing on him. When downloading a file from a FreeBSD box and a Linux box on the same network, the FreeBSD box got 88.78 KBps whereas the Linux got 624.95 Kbps. I have no idea what's wrong, but my man isn't really into good information design (e.g. taking something complex and making it easy), so his system is a mess. Maybe some of you can help me locate where the problem's at? It's probably best to start at the basics and work up: 1) uname -ar on both systems 2) do both systems have identical hardware? 3)what are you coping over, lots of small files, one large file. i.e. what kind of benchmark are you using? that's the best place to start. it looks like you have a ton of pf stuff going on, and have made many changes to your kernel via sysctl. i didn't really look at that stuff closely - that info is kinda pointless w/o the basic hardware, OS data. -p -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Help! FreeBSD: 88.78 KBps, Linux: 624.95 KBps
On Tuesday 10 July 2007 17:02:46 Abdullah Ibn Hamad Al-Marri wrote: On 7/10/07, Kyrre Nygård [EMAIL PROTECTED] wrote: Hello. My friend is switching to Linux because FreeBSD is failing on him. When downloading a file from a FreeBSD box and a Linux box on the same network, the FreeBSD box got 88.78 KBps whereas the Linux got 624.95 Kbps. I have no idea what's wrong, but my man isn't really into good information design (e.g. taking something complex and making it easy), so his system is a mess. Maybe some of you can help me locate where the problem's at? Thanks guys, Kyrre Could you please show the uname -a info? It could be at his router does not understand the RFC1323 extensions - try setting tcp_extensions=NO In rc.conf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Help! FreeBSD: 88.78 KBps, Linux: 624.95 KBps
On Tuesday 10 July 2007, Thomas Sparrevohn wrote: On Tuesday 10 July 2007 17:02:46 Abdullah Ibn Hamad Al-Marri wrote: On 7/10/07, Kyrre Nygård [EMAIL PROTECTED] wrote: Hello. My friend is switching to Linux because FreeBSD is failing on him. When downloading a file from a FreeBSD box and a Linux box on the same network, the FreeBSD box got 88.78 KBps whereas the Linux got 624.95 Kbps. I have no idea what's wrong, but my man isn't really into good information design (e.g. taking something complex and making it easy), so his system is a mess. Maybe some of you can help me locate where the problem's at? Thanks guys, Kyrre Could you please show the uname -a info? It could be at his router does not understand the RFC1323 extensions - try setting tcp_extensions=NO In rc.conf I think the first thing I would do is go back to a default configuration. Turn off pf, take out all of the sysctls and see what happens. Then start adding things in one at a time until you find what breaks it. It doesn't take much to do 625K/sec, the default configuration is easily capable of 30 times that. My guess is that either one of the sysctl 'tunings' has broken something, or an interaction between two or more of them has caused an unexpected behavior, but that's an easy enough theory to test. -- Thanks, Josh Paetzel pgphXFpsEuxsN.pgp Description: PGP signature
Re: Help! FreeBSD: 88.78 KBps, Linux: 624.95 KBps
On July 10, 2007, Kyrre Nygård wrote: Hello. My friend is switching to Linux because FreeBSD is failing on him. When downloading a file from a FreeBSD box and a Linux box on the same network, the FreeBSD box got 88.78 KBps whereas the Linux got 624.95 Kbps. I have no idea what's wrong, but my man isn't really into good information design (e.g. taking something complex and making it easy), so his system is a mess. Maybe some of you can help me locate where the problem's at? Are we comparing apples to oranges? 88.78 KBps (kilo bytes per second) = 710.24 Kbps (kilo bits per second) If this is true, then the FreeBSD box is faster :) Cheers. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Help! FreeBSD: 88.78 KBps, Linux: 624.95 KBps
sis ethernet cards are not known as very good cards. Ted -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Kyrre Nygård Sent: Tuesday, July 10, 2007 7:12 AM To: [EMAIL PROTECTED] Subject: Help! FreeBSD: 88.78 KBps, Linux: 624.95 KBps Hello. My friend is switching to Linux because FreeBSD is failing on him. When downloading a file from a FreeBSD box and a Linux box on the same network, the FreeBSD box got 88.78 KBps whereas the Linux got 624.95 Kbps. I have no idea what's wrong, but my man isn't really into good information design (e.g. taking something complex and making it easy), so his system is a mess. Maybe some of you can help me locate where the problem's at? Thanks guys, Kyrre # ifconfig -a sis0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=8VLAN_MTU inet6 fe80::20e:a6ff:fe53:d066%sis0 prefixlen 64 scopeid 0x1 inet 67.143.227.66 netmask 0xfff8 broadcast 67.143.227.71 inet 67.143.227.67 netmask 0x broadcast 67.143.227.67 inet 67.143.227.68 netmask 0x broadcast 67.143.227.68 inet 67.143.227.69 netmask 0x broadcast 67.143.227.69 inet 67.143.227.70 netmask 0x broadcast 67.143.227.70 inet 67.143.231.97 netmask 0x broadcast 67.143.231.97 inet 67.143.231.98 netmask 0x broadcast 67.143.231.98 inet 67.143.231.99 netmask 0x broadcast 67.143.231.99 inet 67.143.231.100 netmask 0x broadcast 67.143.231.100 inet 67.143.231.101 netmask 0x broadcast 67.143.231.101 inet 67.143.231.102 netmask 0x broadcast 67.143.231.102 ether 00:0e:a6:53:d0:66 media: Ethernet autoselect (100baseTX full-duplex) status: active plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff00 pflog0: flags=141UP,RUNNING,PROMISC mtu 33208 #cat /etc/rc.conf ifconfig_sis0=inet 67.143.227.66 netmask 255.255.255.248 defaultrouter=67.143.227.65 hostname=his.box~com ifconfig_sis0_alias0=67.143.227.67 netmask 0x ifconfig_sis0_alias1=67.143.227.68 netmask 0x ifconfig_sis0_alias2=67.143.227.69 netmask 0x ifconfig_sis0_alias3=67.143.227.70 netmask 0x ifconfig_sis0_alias4=67.143.231.97 netmask 0x ifconfig_sis0_alias5=67.143.231.98 netmask 0x ifconfig_sis0_alias6=67.143.231.99 netmask 0x ifconfig_sis0_alias7=67.143.231.100 netmask 0x ifconfig_sis0_alias8=67.143.231.101 netmask 0x ifconfig_sis0_alias9=67.143.231.102 netmask 0x kern.ipc.maxsockbuf=8388608 net.inet.tcp.sendspace=3217968 net.inet.tcp.recvspace=3217968 net.inet.tcp.rfc1323=1 syslogd_enable=YES syslogd_flags=-4 -v -v -s -s -l /etc/namedb/var/run/log stunnel_enable=YES pf_enable=YES pflog_enable=YES sshd_enable=YES inetd_enable=YES inetd_flags=-wWl named_enable=YES named_program=/usr/local/sbin/named named_flags=-u bind -c /etc/namedb/named.conf mysql_enable=YES apache2_enable=YES apache2ssl_enable=YES sendmail_enable=NONE courier_authdaemond_enable=YES courier_imap_imapd_enable=YES courier_imap_imapdssl_enable=YES courier_imap_imapd_ssl_enable=YES courier_imap_pop3dssl_enable=YES courier_imap_pop3d_ssl_enable=YES sqwebmaild_enable=YES spamd_enable=YES spamd_flags=-d -q -v -x -r /var/run/spamd.pid clamav_clamd_enable=YES clamav_freshclam_enable=YES svscan_enable=YES snmpd_enable=YES proftpd_enable=YES usbd_enable=YES clear_tmp_enable=YES update_motd=NO linux_enable=YES -- # cat /etc/pf.conf ext_if=sis0 # replace with actual external interface name i.e., dc0 loc_if=lo0# lo0 - local interface 127.0.0.1 table box { 67.143.227.66, 67.143.227.67, 67.143.227.68, 67.143.227.69, 67.143.227.70 67.143.231.97 67.143.231.98 67.143.231.99 67.143.231.100 67.143.231.101 67.143.231.102} table customers { 205.209.177.60 } table friends { 67.143.227.66, 128.242.160.3, 68.83.182.43, 66.252.8.133 } table filter { 222.152.0.43, 219.89.75.39, 222.152.3.100, 222.152.4.82, 65.175.125.87, 59.188.133.195, 59.59.154.71, 222.245.97.116, 201.141.212.230, 208.53.3.92, 124.163.176.58, 213.230.128.226, 208.69.32.130, 65.175.125.94, 65.111.17.147, 216.15.177.196, 72.37.165.0/24, 200.184.163.0/24 } scrub in all #smtp forward rdr inet proto tcp from any to $ext_if port 2525 - 67.143.227.70 port 25 #block in quick on $ext_if from filter block drop in quick on $ext_if from filter to box # Filtering: the implicit first two rules are pass in all pass out all # block all incoming packets but allow ssh, pass all outgoing tcp and udp # connections and keep state, logging blocked packets. block in log all # restrict SSH #pass in log on $ext_if
RE: Help! FreeBSD: 88.78 KBps, Linux: 624.95 KBps
One other thing you can try - set the ethernet adapter to 10BaseT half duplex and see if it gets better. Ted -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Kyrre Nygård Sent: Tuesday, July 10, 2007 7:12 AM To: [EMAIL PROTECTED] Subject: Help! FreeBSD: 88.78 KBps, Linux: 624.95 KBps Hello. My friend is switching to Linux because FreeBSD is failing on him. When downloading a file from a FreeBSD box and a Linux box on the same network, the FreeBSD box got 88.78 KBps whereas the Linux got 624.95 Kbps. I have no idea what's wrong, but my man isn't really into good information design (e.g. taking something complex and making it easy), so his system is a mess. Maybe some of you can help me locate where the problem's at? Thanks guys, Kyrre # ifconfig -a sis0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=8VLAN_MTU inet6 fe80::20e:a6ff:fe53:d066%sis0 prefixlen 64 scopeid 0x1 inet 67.143.227.66 netmask 0xfff8 broadcast 67.143.227.71 inet 67.143.227.67 netmask 0x broadcast 67.143.227.67 inet 67.143.227.68 netmask 0x broadcast 67.143.227.68 inet 67.143.227.69 netmask 0x broadcast 67.143.227.69 inet 67.143.227.70 netmask 0x broadcast 67.143.227.70 inet 67.143.231.97 netmask 0x broadcast 67.143.231.97 inet 67.143.231.98 netmask 0x broadcast 67.143.231.98 inet 67.143.231.99 netmask 0x broadcast 67.143.231.99 inet 67.143.231.100 netmask 0x broadcast 67.143.231.100 inet 67.143.231.101 netmask 0x broadcast 67.143.231.101 inet 67.143.231.102 netmask 0x broadcast 67.143.231.102 ether 00:0e:a6:53:d0:66 media: Ethernet autoselect (100baseTX full-duplex) status: active plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff00 pflog0: flags=141UP,RUNNING,PROMISC mtu 33208 #cat /etc/rc.conf ifconfig_sis0=inet 67.143.227.66 netmask 255.255.255.248 defaultrouter=67.143.227.65 hostname=his.box~com ifconfig_sis0_alias0=67.143.227.67 netmask 0x ifconfig_sis0_alias1=67.143.227.68 netmask 0x ifconfig_sis0_alias2=67.143.227.69 netmask 0x ifconfig_sis0_alias3=67.143.227.70 netmask 0x ifconfig_sis0_alias4=67.143.231.97 netmask 0x ifconfig_sis0_alias5=67.143.231.98 netmask 0x ifconfig_sis0_alias6=67.143.231.99 netmask 0x ifconfig_sis0_alias7=67.143.231.100 netmask 0x ifconfig_sis0_alias8=67.143.231.101 netmask 0x ifconfig_sis0_alias9=67.143.231.102 netmask 0x kern.ipc.maxsockbuf=8388608 net.inet.tcp.sendspace=3217968 net.inet.tcp.recvspace=3217968 net.inet.tcp.rfc1323=1 syslogd_enable=YES syslogd_flags=-4 -v -v -s -s -l /etc/namedb/var/run/log stunnel_enable=YES pf_enable=YES pflog_enable=YES sshd_enable=YES inetd_enable=YES inetd_flags=-wWl named_enable=YES named_program=/usr/local/sbin/named named_flags=-u bind -c /etc/namedb/named.conf mysql_enable=YES apache2_enable=YES apache2ssl_enable=YES sendmail_enable=NONE courier_authdaemond_enable=YES courier_imap_imapd_enable=YES courier_imap_imapdssl_enable=YES courier_imap_imapd_ssl_enable=YES courier_imap_pop3dssl_enable=YES courier_imap_pop3d_ssl_enable=YES sqwebmaild_enable=YES spamd_enable=YES spamd_flags=-d -q -v -x -r /var/run/spamd.pid clamav_clamd_enable=YES clamav_freshclam_enable=YES svscan_enable=YES snmpd_enable=YES proftpd_enable=YES usbd_enable=YES clear_tmp_enable=YES update_motd=NO linux_enable=YES -- # cat /etc/pf.conf ext_if=sis0 # replace with actual external interface name i.e., dc0 loc_if=lo0# lo0 - local interface 127.0.0.1 table box { 67.143.227.66, 67.143.227.67, 67.143.227.68, 67.143.227.69, 67.143.227.70 67.143.231.97 67.143.231.98 67.143.231.99 67.143.231.100 67.143.231.101 67.143.231.102} table customers { 205.209.177.60 } table friends { 67.143.227.66, 128.242.160.3, 68.83.182.43, 66.252.8.133 } table filter { 222.152.0.43, 219.89.75.39, 222.152.3.100, 222.152.4.82, 65.175.125.87, 59.188.133.195, 59.59.154.71, 222.245.97.116, 201.141.212.230, 208.53.3.92, 124.163.176.58, 213.230.128.226, 208.69.32.130, 65.175.125.94, 65.111.17.147, 216.15.177.196, 72.37.165.0/24, 200.184.163.0/24 } scrub in all #smtp forward rdr inet proto tcp from any to $ext_if port 2525 - 67.143.227.70 port 25 #block in quick on $ext_if from filter block drop in quick on $ext_if from filter to box # Filtering: the implicit first two rules are pass in all pass out all # block all incoming packets but allow ssh, pass all outgoing tcp and udp # connections and keep state, logging blocked packets. block in