Results 1 to 4 of 4

Thread: How to test http/ftp performance

  1. #1

    How to test http/ftp performance

    I wanted to test my wlan speed, so I devised this little script:
    Code:
    #!/bin/sh
    # Purpose:
    # generate a large stream of data for bandwidth testing.
    
    # send headers:
    echo "Content-type: application/octet-stream"
    echo "Content-Length: 104857600"
    echo ""
    
    # set up a named pipe to write to... discarding any output sent to stderr
    mknod myfifo p 2>/dev/null
    
    #write to it, and send it to output with cat
    dd if=/dev/zero of=myfifo bs=1024 count=100k 2>/dev/null& cat myfifo
    #cat /dev/zero
    Now I can initiate a 100 MB download from the router (no usb disk! ), but it seems the troughput is limited by the busybox_httpd performance: it goes to about 80% cpu usage, and I only get about 1MB per second, even on ethernet.
    I guess that by ftp I would get better performance, but I don't know how to do that trick on ftp...
    Any sugestion how to generate a large stream of data trough ftp?

  2. #2
    Join Date
    Nov 2003
    Location
    Eindhoven
    Posts
    2,407
    the best way is to install a FTP server at a PC connected to LAN, as that will be your speed in real life as it will utilize LAN and WLAN ports

    My little Asus Collection: Too much to fit inhere, my 2 babies:WL500w 1.9.2.7-10(OLEG) VX2SE Yellow Lamborghini notebook



    WL500g Forum Asus Files OpenDir

    Asusforum.NL -- Asusforum.DE -- Asusforum.RU -- Asusforum.PL -- Asusforum.NET -- Asusforum.EU -- Asusforum.BE -- Asusforum.ES -- Asusforum.INFO

  3. #3
    Join Date
    Sep 2004
    Location
    NL
    Posts
    206
    If you are able to get more then 1MB/s for WLAN I would be very interested. AFAIK this about the max you (and I) can get from the WL-500g

    Wired LAN should be a lot faster though, around 3.5 MB/s max. Also if you get more overthere or pinpoint the bottleneck a lot of people will be interested!
    Brubber

    WL-500g, WL-138g, WL-160g

  4. #4
    You mean data served from httpd or busybox_httpd or stupid_ftd?

    As far as I know, the limit is in the server (busybox_httpd in my case), because that's what top shows to be using most cpu time.
    I didn't notice a real difference when using wired lan.

    As a side note, I get about 22 Mbit/s on wlan (about 2.75 MB/s), paired with a wl-107g (11g protection off, burst enabled, no other wireless devices, using 128-bit wep), when transfering to another pc via the router (tested w/ Ixia Qcheck).

Similar Threads

  1. Again, performance.....
    By ikke_ook in forum WL-500g Q&A
    Replies: 4
    Last Post: 04-06-2005, 06:40
  2. Performance and new firmwares for WL-500g Deluxe
    By iliketechnology in forum WL-500g Q&A
    Replies: 3
    Last Post: 23-02-2005, 23:29
  3. Slow performance of WL-HDD - Discussion
    By Oleg in forum WL-HDD Q&A
    Replies: 20
    Last Post: 21-11-2004, 22:07
  4. Does Frame Bursting increase performance?
    By FIB in forum WL-500g Q&A
    Replies: 1
    Last Post: 02-01-2004, 11:18

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •