Re: rtorrent choking my internet connection
On Friday 10 August 2007 13:25, Gadi Cohen wrote: Did you cap the upload speed at under 10 Kb? Or are you saying that you Yes. BTW, as an experiment, I removed the cap and uploads reached about 20 (slightly more than is theoretically possible. I also notice that a cap of 10 in rtorrent resulted in uploads of 10. In ktorrent, the same cap resulted in much lower upload speeds (usually about 5) - despite the fact that I seemed to get better download speeds in ktorrent (but that's only my gut feeling - not really measured). of this is the slow upload speed of 16K/sec. If your settings are correct and you're connecting to popular torrents, you will ALWAYS reach your maximum upload speed. If you're not it probably means you have problematic settings. I suspect the torrents I'm trying to get are not that popular and that's the reason I'm not complaining about slow downloads - it's a fact of life ;-) Don't forget that the reason why torrents are so effective is because the files are divided into tiny pieces and exchanged with LOTS of other hosts. With 4 big and popular torrents, and depending on your settings, you could for example have 400 connections open all transfering data... and even tho each connection may only be transferring a tiny bit of data, all together its too much work for the router which is used to lots of data on just one connection (that it needs to keep track of, rewrite headers for NAT, etc...) Again, with less popular torrents, that shouldn't be a problem. With only 4 torrents and I'd guess less than 10 connections on each . . . As for checking, I just noticed when downloading torrents with my old router than even pinging the router become abnormally slow, sometimes I couldn't log in via HTTP anymore... but I guess every router will that's exactly what I saw, but that's not an exact measurment. Did they notice that the Internet was slow or that the computer was slow? The former would be a result of overloading your connection, the Sorry, I guess I wasn't clear. The kids have there own computers, so resources would not be relevant. They complain about SLOW internet when I use ktorrent (and now rtorrent). P.S. With popular torrents on a 1.5mbps connection, you should be able to get up to about 160K/sec or so... On the VERY rare occaision that I go for a popular torrent, I have seen that, but again, on what I've been downloading, I rarely go over 10 or 20. -- Shlomo Solomon http://the-solomons.net Sent by KMail (KDE 3.5.4) on LINUX Mandriva 2007 = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: rtorrent choking my internet connection
Shlomo Solomon wrote: As I already wrote, the upload speed is under 10 Kb. So that doesn't seem to be the problem. Did you cap the upload speed at under 10 Kb? Or are you saying that you haven't defined a limit but you've noticed that it never exceeds 10 Kb on it's own? The latter is what I was talking about... it's trying to send out more data than your connection can handle, choking the connection... tcp requires two-way communications for data transfer to be effective... try cap your global upload speed at 10 Kb and you might find that it stays there consistently and that your download speed is suddenly alot faster. Don't forget, its reporting the ACTUAL data transfer... even if it's just trying to send out 16K/sec, the RESULT of this is the slow upload speed of 16K/sec. If your settings are correct and you're connecting to popular torrents, you will ALWAYS reach your maximum upload speed. If you're not it probably means you have problematic settings. Again, I'm not complaining about slow downloads - I can live with that But it's unnecessary... you could be downloading alot faster. And of course, not just your downloads are being affected... any activity on the 'net will be affected also, even something which only needs 1K/sec. Actually, I DO have an external router. It's a Siemens SL2-141 that I bought from Bezeq about a month ago. Since getting the router, I no longer use iptables or routing on my Linux box. But, I find it hard to believe that with 4 open torrents, I would be choking the router. How do I check that? Don't forget that the reason why torrents are so effective is because the files are divided into tiny pieces and exchanged with LOTS of other hosts. With 4 big and popular torrents, and depending on your settings, you could for example have 400 connections open all transfering data... and even tho each connection may only be transferring a tiny bit of data, all together its too much work for the router which is used to lots of data on just one connection (that it needs to keep track of, rewrite headers for NAT, etc...) As for checking, I just noticed when downloading torrents with my old router than even pinging the router become abnormally slow, sometimes I couldn't log in via HTTP anymore... but I guess every router will behave differently. Try ping's and traceroute's to external hosts too... as long as your upload cap settings are ok in your torrent client, you shouldn't notice a drop in speed even when you're downloading. Thanks for the recommendation, but at least for the moment, I don't plan to make any changes. I was actually quite happy with ktorrent, but my kids were complaining that sometimes the Internet was very slow and that seemed to coincide with my use of ktorrent. Someone on the list (sorry, I don't remmember who) suggested rtorrent as being less resource intensive. Did they notice that the Internet was slow or that the computer was slow? The former would be a result of overloading your connection, the latter the result of your client being resource intensive. One nice feature of Azureus which I admit I've never used, it has 'auto tuning', where it can automatically configure your upload and download caps and adjust them automatically when necessary. Gadi P.S. With popular torrents on a 1.5mbps connection, you should be able to get up to about 160K/sec or so... -- Gadi Cohen aka Kinslayer [EMAIL PROTECTED] www.wastelands.net Freelance admin/coding/design HABONIM DROR linux/fantasy enthusiast KeyID 0x93F26EF5: 256A 1FC7 AA2B 6A8F 1D9B 6A5A 4403 F34B 93F2 6EF5
Re: rtorrent choking my internet connection
On Friday 10 August 2007 11:55, Hetz Ben Hamo wrote: Hi Shlomo, I had the same problems as you had. I always have around 6-13 torrents open and downloading/uploading. I'm using 2 solutions on different machines: the first is Azureues. In Azureus you can set the total upload limit, no matter how many torrents you up/download. This method works here perfectly and I can still surf and let other access my apache server. both ktorrent and rtorrent allow that The other solution envolves uTorrent and wine. I know that this is weird (since Linux has native torrent clients), but uTorrent with wine works really well and can also be set to use globally up to X kb upload, although I did have some issues that you're facing now with it sometimes (not something steady, maybe it's related to the number of torrents). no offense meant, but NO WAY I'd do that. I'm not a fanatic about not using Windows, and when I have no choice ... But this is not one of those times. -- Shlomo Solomon http://the-solomons.net Sent by KMail (KDE 3.5.4) on LINUX Mandriva 2007 = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: rtorrent choking my internet connection
As long as you're not using the standard ports, you shouldn't have problems with your ISP. Probably your problem is that you're reaching your maximum upload speed and therefore choking your connection. Check the upstream bandwidth of your package (iirc with 1.5mbps it's only 128kbps), divide by 8 to get 16Kbps.. and lower a bit for tcp headers, etc... means you need to configure your client to cap your global upload speed at say 13Kbps... try that and see how you go... Obviously with torrents, the faster you upload the faster you download... so on an ADSL connection (by nature of it being Asynchronous DSL, i.e. different upload and download bandwidth) you'll never get your full donwload speed. But the bigger your package, the faster you'll download, because bigger ADSL packages have greater upstream bandwidth. So you always want to be uploading as fast as you can, but below the point where you choke your connection. Of course, if you have an external router, that could also be your problem...although I don't think that's what you described here. But alot of routers can't handle the sheer mass of connections used by torrent networks and slow down to a total crawl. That's why I started using my Linux box to do all my routing for my home network. Last thing, I really recommend the Azureus client... it's really really good. http://azureus.sf.net/ Gadi Shlomo Solomon wrote: I decided to try rtorrent (rTorrent 0.6.4 - libTorrent 0.10.1), instead of ktorrent whch seemed to be strangling my internet connection. So long as I was dealing with only 1 or 2 torrents, everything seemed OK. I should say that I didn't change anything in my firewall (i.e open any ports for rtorrent), so I'm not surprised that the downloads are very slow, but I can live with that. I tried adding 2 more torrents and started to have serious problems. With 4 torrents active, the total download and upload speeds are only about 10 Kb in each direction. I have a 1.5 ADSL connection, so rtorrent seems to be using a very insignificant part of my bandwith. But, even so, it completely locks up my internet connection. While 4 torrents are active, I can't even ping outside the LAN. Sometimes ping responds that the network is unreachable and sometimes unknown host. Stopping the torrents solves the problem immediately. I've played with various settings, mainly throttling, but with no success and I have no idea what's happening. The ony thing I could think of is that maybe my ISP (Smile - 015) does some sort of traffic shaping, but I have no idea if that's true or how to check. IF that's the case, I've read that encrypting the torrent traffic can help, but I haven't tried that yet, since as I said, I don't even know if that's the problem. Any ideas. -- Gadi Cohen aka Kinslayer [EMAIL PROTECTED] www.wastelands.net Freelance admin/coding/design HABONIM DROR linux/fantasy enthusiast KeyID 0x93F26EF5: 256A 1FC7 AA2B 6A8F 1D9B 6A5A 4403 F34B 93F2 6EF5
rtorrent choking my internet connection
I decided to try rtorrent (rTorrent 0.6.4 - libTorrent 0.10.1), instead of ktorrent whch seemed to be strangling my internet connection. So long as I was dealing with only 1 or 2 torrents, everything seemed OK. I should say that I didn't change anything in my firewall (i.e open any ports for rtorrent), so I'm not surprised that the downloads are very slow, but I can live with that. I tried adding 2 more torrents and started to have serious problems. With 4 torrents active, the total download and upload speeds are only about 10 Kb in each direction. I have a 1.5 ADSL connection, so rtorrent seems to be using a very insignificant part of my bandwith. But, even so, it completely locks up my internet connection. While 4 torrents are active, I can't even ping outside the LAN. Sometimes ping responds that the network is unreachable and sometimes unknown host. Stopping the torrents solves the problem immediately. I've played with various settings, mainly throttling, but with no success and I have no idea what's happening. The ony thing I could think of is that maybe my ISP (Smile - 015) does some sort of traffic shaping, but I have no idea if that's true or how to check. IF that's the case, I've read that encrypting the torrent traffic can help, but I haven't tried that yet, since as I said, I don't even know if that's the problem. Any ideas. -- Shlomo Solomon http://the-solomons.net Sent by KMail (KDE 3.5.4) on LINUX Mandriva 2007 = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: rtorrent choking my internet connection
Hi Shlomo, I had the same problems as you had. I always have around 6-13 torrents open and downloading/uploading. I'm using 2 solutions on different machines: the first is Azureues. In Azureus you can set the total upload limit, no matter how many torrents you up/download. This method works here perfectly and I can still surf and let other access my apache server. The other solution envolves uTorrent and wine. I know that this is weird (since Linux has native torrent clients), but uTorrent with wine works really well and can also be set to use globally up to X kb upload, although I did have some issues that you're facing now with it sometimes (not something steady, maybe it's related to the number of torrents). Thanks, Hetz On 10/08/07, Shlomo Solomon [EMAIL PROTECTED] wrote: I decided to try rtorrent (rTorrent 0.6.4 - libTorrent 0.10.1), instead of ktorrent whch seemed to be strangling my internet connection. So long as I was dealing with only 1 or 2 torrents, everything seemed OK. I should say that I didn't change anything in my firewall (i.e open any ports for rtorrent), so I'm not surprised that the downloads are very slow, but I can live with that. I tried adding 2 more torrents and started to have serious problems. With 4 torrents active, the total download and upload speeds are only about 10 Kb in each direction. I have a 1.5 ADSL connection, so rtorrent seems to be using a very insignificant part of my bandwith. But, even so, it completely locks up my internet connection. While 4 torrents are active, I can't even ping outside the LAN. Sometimes ping responds that the network is unreachable and sometimes unknown host. Stopping the torrents solves the problem immediately. I've played with various settings, mainly throttling, but with no success and I have no idea what's happening. The ony thing I could think of is that maybe my ISP (Smile - 015) does some sort of traffic shaping, but I have no idea if that's true or how to check. IF that's the case, I've read that encrypting the torrent traffic can help, but I haven't tried that yet, since as I said, I don't even know if that's the problem. Any ideas. -- Shlomo Solomon http://the-solomons.net Sent by KMail (KDE 3.5.4) on LINUX Mandriva 2007 = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] -- Skepticism is the lazy person's default position. my blog (hebrew): http://benhamo.org = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
2 hardware questions
1 - I need a USB 802.11g dongle. The cheapest one I found is a tp-link TL-WN321G sold for 74 shekels at Ivory. The Ivory site and the manufacturer's site don't mention Linux support, but I did find an Australian reseller who does mention Linux and a few vague references to it working in Fedora or Ubuntu. So I don't know what to believe. Has anyone used this model? 2 - I want to use smartctl, but: [EMAIL PROTECTED] solomon]# smartctl -i /dev/sdb smartctl version 5.36 [i586-mandriva-linux-gnu] Copyright (C) 2002-6 Bruce Allen Home page is http://smartmontools.sourceforge.net/ Device: ATA WDC WD2500KS-00M Version: 02.0 Serial number: WD-WCANK8275024 Device type: disk Local Time is: Fri Aug 10 11:45:24 2007 IDT Device does not support SMART The disk does support SMART and it's also enabled in the BIOS. What's going on? -- Shlomo Solomon http://the-solomons.net Sent by KMail (KDE 3.5.4) on LINUX Mandriva 2007 = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: rtorrent choking my internet connection
On Friday 10 August 2007 11:44, Gadi Cohen wrote: As long as you're not using the standard ports, you shouldn't have problems with your ISP. That was true in the past. Some ISPs today are already using Layer 7 protocol detection - so the ports doesn't matter anymore. Some even QoS HTTP positively over everything else (so encryption wouldn't help - and the effect is global, not just P2P) - instead of negatively QoSing P2P. For example, a CVS checkout over the internet that takes a few days because of this... WHOIS queries that timeout, stuff like that. I will not point out ISP names (don't want to get sued...) - but the phenomena is definately here - and calling tech support will get you a complete denial. Fact is that people I know who had such problems and switched an ISP, and the problem was gone immediately. Not saying that this is necessarily Shlomo's problem. He might be out of NAT table space and stuff like that. I am just answering the ISP's QoS by port claim. -- Shimi = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: rtorrent choking my internet connection
On Friday 10 August 2007 11:44, Gadi Cohen wrote: As long as you're not using the standard ports, you shouldn't have problems with your ISP. Probably your problem is that you're reaching your maximum upload speed and therefore choking your connection. Check the upstream bandwidth of your package (iirc with 1.5mbps it's only 128kbps), divide by 8 to get 16Kbps.. and lower a bit for tcp headers, etc... means you need to configure your client to cap your global upload speed at say 13Kbps... try that and see how you go... As I already wrote, the upload speed is under 10 Kb. So that doesn't seem to be the problem. Obviously with torrents, the faster you upload the faster you download... so on an ADSL connection (by nature of it being Asynchronous DSL, i.e. different upload and download bandwidth) you'll never get your full donwload speed. But the bigger your package, the faster you'll download, because bigger ADSL packages have greater upstream bandwidth. So you always want to be uploading as fast as you can, but below the point where you choke your connection. Again, I'm not complaining about slow downloads - I can live with that Of course, if you have an external router, that could also be your problem...although I don't think that's what you described here. But alot of routers can't handle the sheer mass of connections used by torrent networks and slow down to a total crawl. That's why I started using my Linux box to do all my routing for my home network. Actually, I DO have an external router. It's a Siemens SL2-141 that I bought from Bezeq about a month ago. Since getting the router, I no longer use iptables or routing on my Linux box. But, I find it hard to believe that with 4 open torrents, I would be choking the router. How do I check that? Last thing, I really recommend the Azureus client... it's really really good. http://azureus.sf.net/ Thanks for the recommendation, but at least for the moment, I don't plan to make any changes. I was actually quite happy with ktorrent, but my kids were complaining that sometimes the Internet was very slow and that seemed to coincide with my use of ktorrent. Someone on the list (sorry, I don't remmember who) suggested rtorrent as being less resource intensive. At the moment, it seems to be even more problematical than ktorrent, so if I don't solve the probem, I'll probably go back to ktorrent and maybe run it only at night, when the kids are not online. -- Shlomo Solomon http://the-solomons.net Sent by KMail (KDE 3.5.4) on LINUX Mandriva 2007 = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Webmail like Gmail + encryption
Kfir The best bet for you is Google Applications - surf to www.google.com/a You don't want to get involved in encrypted mail on your lonesome. danny On 8/9/07, Kfir Lavi [EMAIL PROTECTED] wrote: Hi, I would like to keep company emails secure and encrypted. I'm looking for a webmail program that is similar to Gmail. It don't have to own all the stuff, just to be productive. I would also want encryption. I want all the emails be encrypted automatically. What is the procedure for a user? should he take with him a usb private key? I'm looking for your comments on the idea. Tnx, Kfir -- Danny Lieberman Reduce risk with practical threat analysis- visit us at www.ptatechnologies.com All things being equal, the simplest solution tends to be the best one. Occam's razor www.software.co.il/blog - Israeli software, music and mountain biking www.software.co.il/pta - Download a free copy of the PTA-Practical threat analysis tool Tel Aviv + 972 3 610-9750 US + 1-301-841-7122 Cell + 972 54 447-1114
Re: Webmail like Gmail + encryption
Danny, Google apps is exactly what I'm trying to avoid :-) What did you mean by You don't want to get involved in encrypted mail on your lonesome.? On 8/10/07, Danny Lieberman [EMAIL PROTECTED] wrote: Kfir The best bet for you is Google Applications - surf to www.google.com/a You don't want to get involved in encrypted mail on your lonesome. danny On 8/9/07, Kfir Lavi [EMAIL PROTECTED] wrote: Hi, I would like to keep company emails secure and encrypted. I'm looking for a webmail program that is similar to Gmail. It don't have to own all the stuff, just to be productive. I would also want encryption. I want all the emails be encrypted automatically. What is the procedure for a user? should he take with him a usb private key? I'm looking for your comments on the idea. Tnx, Kfir -- Danny Lieberman Reduce risk with practical threat analysis- visit us at www.ptatechnologies.com All things being equal, the simplest solution tends to be the best one. Occam's razor www.software.co.il/blog - Israeli software, music and mountain biking www.software.co.il/pta - Download a free copy of the PTA-Practical threat analysis tool Tel Aviv + 972 3 610-9750 US + 1-301-841-7122 Cell + 972 54 447-1114
Re: 2 hardware questions
On Friday 10 August 2007, Shlomo Solomon wrote: 2 - I want to use smartctl, but: [EMAIL PROTECTED] solomon]# smartctl -i /dev/sdb smartctl version 5.36 [i586-mandriva-linux-gnu] Copyright (C) 2002-6 Bruce Allen Home page is http://smartmontools.sourceforge.net/ Device: ATA WDC WD2500KS-00M Version: 02.0 Serial number: WD-WCANK8275024 Device type: disk Local Time is: Fri Aug 10 11:45:24 2007 IDT Device does not support SMART The disk does support SMART and it's also enabled in the BIOS. What's going on? When using smartctl with a sata drive you may have to specify manually that it's a sata drive and not a real SCSI one, try adding the -d ata parameter. I've had to do this on the Gentoo 2007.0 install CD, which IIRC uses a 2.6.19 kernel. However, it's not required on 2.6.22 with smartmontools 5.37. So if this helps try using a newer kernel or smartmontools. -- Dan Armak = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]