Code: Select all
while true; do (code); sleep 2; doneCode: Select all
while true; do wget -O /dev/null http://speedtest.tele2.net/1GB.zip; sleep 2; done Did you try it with a browser? Webkit browsers by default load it into memory first. Your RPi might have started swapping.rpiswag wrote:With that website my download speed dropped very low so I decided to use wget --output-document=/dev/null http://speedtest.wdc01.softlayer.com/do ... st1000.zip but with it in a infinite loop with the command you showed me and I am getting much faster speeds. Why am I getting WAY faster speeds?
Why? Don't you think about the traffic you're imposing on the provider of the test file? Traffic costs money and somebody always has to pay for it. I suppose sooner or later the site will block you.rpiswag wrote:Can I do the download test for months on a 4 gb sd card and will I use up my memory with these tests?
What you are proposing to do is generally referred to as a Denial of Service Attack, DOS attack. This generally seen as a bad thing. People go to jail for doing this. I have no idea where you are but in the UK:Can I do the download test for months on a 4 gb sd card and will I use up my memory with these tests?
The slow down is due to the SD card, writing very large files can slow to a crawl. Writing to /dev/null dos not go anywhere near the SD card, in fact it just evaporates.rpiswag wrote:With that website my download speed dropped very low so I decided to use wget --output-document=/dev/null http://speedtest.wdc01.softlayer.com/do ... st1000.zip but with it in a infinite loop with the command you showed me and I am getting much faster speeds. Why am I getting WAY faster speeds?
Sure the servers have a fast connection, but they 1 pay for it and 2 expect many people to be able to use the service. The idea is for occasional testing and trouble-shooting.rpiswag wrote:Thats if you do it to some one else. I am having my cousins over and they use all of the internet connection and I am trying to simulate it. I found a awesome setting in my router that will give a temporary speed boost to each device so it can load faster. Currently when I ran the test on some the internet connection almost never dropped. I expected it to drop 5-10 mbps less but that still leaves me with another 45mbps. Whey don't the pi use the entire network connection. This is why I did this because I expected one thing and got another. Don't the servers who host the speed test have 10gbps internet connections? I tested it again and it dropped about 5mbps but when I get my computer closer to the speedtest gets to 50mbps. The Raspberry Pi is connected through wifi(IEEE802.11).
So do you know the bandwidth of each part of the path? Which is the weakest link in your test? When your cousins visit, are they using a path with the same weakest link? Is the test even simulating the right conditions? And does the short test tell you anything unexpected? What are you going to do about it anyway?rpiswag wrote:Thats if you do it to some one else. I am having my cousins over and they use all of the internet connection and I am trying to simulate it. I found a awesome setting in my router that will give a temporary speed boost to each device so it can load faster. Currently when I ran the test on some the internet connection almost never dropped. I expected it to drop 5-10 mbps less but that still leaves me with another 45mbps. Whey don't the pi use the entire network connection. This is why I did this because I expected one thing and got another. Don't the servers who host the speed test have 10gbps internet connections? I tested it again and it dropped about 5mbps but when I get my computer closer to the speedtest gets to 50mbps. The Raspberry Pi is connected through wifi(IEEE802.11).