All of lore.kernel.org
 help / color / mirror / Atom feed
From: Evgeniy Dushistov <dushistov@mail.ru>
To: b43-dev@lists.infradead.org
Subject: slow connection
Date: Fri, 31 Oct 2014 22:00:18 +0300	[thread overview]
Message-ID: <20141031190018.GA8295@fifteen> (raw)

Hi,

I used linux 3.16.3 and b43 driver with firmware version 784.2.
$iwconfig
wlp4s0    IEEE 802.11bg  ESSID:"some sid"
          Mode:Managed  Frequency:2.437 GHz  Access Point: 60:A4:4C:F0:DF:80
          Bit Rate=24 Mb/s   Tx-Power=20 dBm
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=70/70  Signal level=-27 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:18981  Invalid misc:16901   Missed beacon:0

$lspci -v
04:00.0 Network controller: Broadcom Corporation BCM4331 802.11a/b/g/n (rev 02)
        Subsystem: Apple Inc. AirPort Extreme
        Flags: bus master, fast devsel, latency 0, IRQ 17
        Memory at c1900000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [40] Power Management version 3
        Capabilities: [58] Vendor Specific Information: Len=78 <?>
        Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [d0] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [13c] Virtual Channel
        Capabilities: [160] Device Serial Number dc-cb-e9-ff-ff-16-28-cf
        Capabilities: [16c] Power Budgeting <?>
        Kernel driver in use: bcma-pci-bridge
        Kernel modules: bcma

to test speed I download file from wifi router with usb disk.

Under linux I got:
time curl  'ftp://192.168.1.1/somefile' -o res
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 2147M  100 2147M    0     0   403k      0  1:30:52  1:30:52 --:--:--  478k

real    90m52.745s
user    1m1.120s
sys     1m22.670s


On the same notebook, at the same place, but under Mac OS X I got:
time curl 'ftp://192.168.1.1/somefile' -o res
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 2147M  100 2147M    0     0  8379k      0  0:04:22  0:04:22 --:--:-- 6801k

real	4m22.479s
user	0m9.149s
sys	0m31.209s

So it is 3.18 Mbit/s vs 71.57 MBit/s under the same conditions,
and the only difference is OS.

Any hints, how to speedup connection under linux?

-- 
/Evgeniy

             reply	other threads:[~2014-10-31 19:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-31 19:00 Evgeniy Dushistov [this message]
2014-10-31 20:12 ` slow connection Rafał Miłecki
2014-10-31 22:41   ` Evgeniy Dushistov
2014-10-31 23:15     ` Rafał Miłecki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141031190018.GA8295@fifteen \
    --to=dushistov@mail.ru \
    --cc=b43-dev@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.