Re: network perf : em driver ?



On 12 janv. 2007, at 23:01, Lucas Holt wrote:

The first two things I would try beyond the sysctls mentioned would be to try another network cable,

ok, added to the todo list ;)

and view your firewall configuration on both machines very carefully. What are the specifications on the Mac?

the Mac is a dual G5 2GHz, 1.5 GB RAM, 160 GB SATA HDD, it uses ipfw for internet sharing purposes between its eth and its wifi interfaces:

# ipfw list
00010 divert 8668 ip from any to any via en0
65535 allow ip from any to any

the FreeBSD has 1 GB DDR2 ECC, 2 250GB SATA II HDD (but motherboard controler is on SATA I) and uses pf:

# pfctl -s all
TRANSLATION RULES:
nat on fxp0 inet from 192.168.0.0/24 to any -> (fxp0) round-robin

FILTER RULES:
scrub in all fragment reassemble
block return all
block return in log quick proto tcp from <sshscan> to any port = ssh
pass quick on lo0 all
[ bunch of block in/out and pass in rules applying only on fxp0, the external IF ]
pass in inet proto icmp all icmp-type echoreq keep state
pass in on em0 inet from 192.168.0.0/24 to any keep state
pass out on em0 inet from any to 192.168.0.0/24 keep state
[ few pass out rules applying only on fxp0, the external IF ]
No queue in use


I averaged 7.5MB/s with sftp and the peak speed on the HTTP transfer was only 7.1MB/s with Apache 2.2.

scp gives me 5.6 MB/s from the Mac to the FreeBSD, but HTTP gives me 20-21 MB/s from the mac (apache 1.3) to the freebsd.

Arne's nc trick (server: nc -l 1234 > /dev/null ; client: dd if=/dev/ zero bs=1m | nc serverIP 1234) gives me at best 23.7 MB/s with freebsd as server. About the same with the mac as server.

Everything else is still to be tested.

thanks,
patpro


_______________________________________________
freebsd-performance@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "freebsd-performance-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Mac file names too long??
    ... > Thank you for posting in SBS newsgroup. ... > networking settings on the MAC; modify the directory service options; ... > some settings on the SBS server need to be changed. ... > I. Check the TCP/IP properties of the MAC client. ...
    (microsoft.public.windows.server.sbs)
  • Re: Mac OS X users cannot connect to shared drives on SBS
    ... To connect MAC OSX computers to SBS 2003 network, ... Services for Macintosh on SBS 2003 server to provide file and printer ...
    (microsoft.public.windows.server.sbs)
  • Re: Word Errors
    ... > I'm experiencing the same issue with OS X Server 10.3.3. ... > users who have home directories on a server. ... Move the Users folder back to the hard disk partition that contains Mac OS ... > networked drives. ...
    (microsoft.public.mac.office.word)
  • Word "Too Many Files Open" strikes again
    ... Recently (immediately after upgrading our server to Mac OS X 10.4.4 Server) ... Network Home folder and Remote Home Folder ...
    (microsoft.public.mac.office.word)
  • RE: Mac file names too long??
    ... Thank you for posting in SBS newsgroup. ... Generally speaking, for the SBS 2003 domain with MAC clients, some ... You can check the white paper and ensure both the server and the clients ... and client correctly: [note: please notice the ISA section of the bottom of ...
    (microsoft.public.windows.server.sbs)