Sambuccashake
Member
+126|6868|Sweden
Hey!

Bought a macbook for my girl and all is good except the fact that ever since she's started
to run spotify while I'm gaming on the PC, I experience all kinds of stuttering and whatnot.

Ping is as smooth and low as usual but I get these "spikes" every now and again which is really annoying.

At first I thought it was a router issue but it seems to be the p2p functionality of Spotify that is messing with me.

So, my google searches have not really come up with anything since:

* Firewall on the mac only focuses on incoming traffic
* Netlimiters just doesn't seem to exist for Mac (?)
* My Belkin router doesn't seem to have any elaborate QoS settings

So, ye great tecnomancers of the board, how do I solve this?

//Best regards  Sam
GR34
Member
+215|6803|ALBERTA> CANADA
Giver her something shiny to distract her from the computer
DefCon-17
Maple Syrup Faggot
+362|6414|Vancouver | Canada
I read that as  "she's retarded".

I'm no tech expert, but it sounds like there's a p2p process running that is doing that. Closing it should do the trick.
Sambuccashake
Member
+126|6868|Sweden

DefCon-17 wrote:

I'm no tech expert, but it sounds like there's a p2p process running that is doing that. Closing it should do the trick.
She's running Spotify, Spotify is using p2p technology in order to ease their own server load.

Downloading is no problem, it's the upload that chokes my connection. (24/2 ADSL)

So, how can I limit that upload?

Last edited by Sambuccashake (2010-09-01 00:21:59)

DefCon-17
Maple Syrup Faggot
+362|6414|Vancouver | Canada
Well as I said, just terminate the process.

Fuck their server load.
FloppY_
­
+1,010|6543|Denmark aka Automotive Hell
Limit her bandwith by changing her settings on your router..

If you use DHCP, just limit the port Spotify uses...
­ Your thoughts, insights, and musings on this matter intrigue me
Sambuccashake
Member
+126|6868|Sweden
DefCon - 17 Killing the process = Killing Spotify

FloppY, I think Spotify uses multiple ports (huge range) for the outgoing traffic.
max
Vela Incident
+1,652|6825|NYC / Hamburg

Can you just firewall all of the p2p ports or will it stop working then?

Can you install DD-WRT or similar on the router?
once upon a midnight dreary, while i pron surfed, weak and weary, over many a strange and spurious site of ' hot  xxx galore'. While i clicked my fav'rite bookmark, suddenly there came a warning, and my heart was filled with mourning, mourning for my dear amour, " 'Tis not possible!", i muttered, " give me back my free hardcore!"..... quoth the server, 404.
Sambuccashake
Member
+126|6868|Sweden
Range is probably "impossible" to figure out and I need to leave the incoming open.

DD-WRT doesn't seemt to be applicable for my router...
max
Vela Incident
+1,652|6825|NYC / Hamburg

well you can always use the ipfw command to limit bandwidth. Something to get you started

The joys of the command line
once upon a midnight dreary, while i pron surfed, weak and weary, over many a strange and spurious site of ' hot  xxx galore'. While i clicked my fav'rite bookmark, suddenly there came a warning, and my heart was filled with mourning, mourning for my dear amour, " 'Tis not possible!", i muttered, " give me back my free hardcore!"..... quoth the server, 404.
Sambuccashake
Member
+126|6868|Sweden
^
Some dude at another forum posted something similiar but I'm loath to dig into unknown territory on her brand new Mac like that...

So we end up with:
* Limit the entire Mac internet behaviour with ipfw commands
* Buy a new router which hopefully can identify and limit outgoing Spotify traffic

?
mcminty
Moderating your content for the Australian Govt.
+879|6979|Sydney, Australia
Shouldn't it be a setting within Spotify itself? Kind of like bandwidth limit settings on torrent programs.. ?


.. not that I've ever used spotify.. just sayin, that would make sense
Sambuccashake
Member
+126|6868|Sweden
^
The only setting Spotify has on this is the cache (How much crap you can store and then file share with others) and I've already set that as zero. (Means 1 gig)

They don't want the user to be able to block the p2p functionality since they would then need to run everything on their own servers. Sneaky...
ghettoperson
Member
+1,943|6907

Wouldn't it stop the program working though? I have the same issue with Veetle, a site I use to stream NFL broadcasts. It's not too bad on download, but it rapes my upload and since our university bandwidth limits combine the two, it means it's easy to go over.
Sambuccashake
Member
+126|6868|Sweden
The outgoing traffic from Spotify doesn't seem to impact the performance of the client itself so as long as something goes through, Spotify should percieve everything as ok.

I've read about people using netlimiter on a PC to solve the issue without Spotify complaining.

Last edited by Sambuccashake (2010-09-01 06:20:34)

Finray
Hup! Dos, Tres, Cuatro
+2,629|6046|Catherine Black
How about identifying the cache file, cleaning it out, then setting it to read only?
https://i.imgur.com/qwWEP9F.png
Sambuccashake
Member
+126|6868|Sweden
^

Ooooh, sir seems to be the sneaky kind. I like that!

Gotta try that. (Would be surprised if it works though)
max
Vela Incident
+1,652|6825|NYC / Hamburg

you can limit the bandwidth of just the ports spotify uses with ipfw. Quick google suggests that it's ports 14000-65000. Just make sure port 80, 443, 21, etc. are unlimited.
once upon a midnight dreary, while i pron surfed, weak and weary, over many a strange and spurious site of ' hot  xxx galore'. While i clicked my fav'rite bookmark, suddenly there came a warning, and my heart was filled with mourning, mourning for my dear amour, " 'Tis not possible!", i muttered, " give me back my free hardcore!"..... quoth the server, 404.
FloppY_
­
+1,010|6543|Denmark aka Automotive Hell

max wrote:

you can limit the bandwidth of just the ports spotify uses with ipfw. Quick google suggests that it's ports 14000-65000. Just make sure port 80, 443, 21, etc. are unlimited.
ehm...

Keep open the first 1024 you mean?

­ Your thoughts, insights, and musings on this matter intrigue me
Sambuccashake
Member
+126|6868|Sweden
So there really isn't any type of Netlimiter for Mac that will perform this for me?

As stated before, this ipfw is something I've never heard of and have zero knowledge about.
max
Vela Incident
+1,652|6825|NYC / Hamburg

Sambuccashake wrote:

So there really isn't any type of Netlimiter for Mac that will perform this for me?

As stated before, this ipfw is something I've never heard of and have zero knowledge about.
You can't really break anything with ipfw. If you do somehow screw up, just delete the rule and try again.

I don't know of any netlimiter type programs for OS X, but maybe you can find a GUI frontend for ipfw

Where are the OS X gurus when you need 'em?

FloppY_ wrote:

max wrote:

you can limit the bandwidth of just the ports spotify uses with ipfw. Quick google suggests that it's ports 14000-65000. Just make sure port 80, 443, 21, etc. are unlimited.
ehm...

Keep open the first 1024 you mean?

I was more thinking along the lines that you could also limit everything and whitelist the usual ports for HTTP, HTTPS, FTP, etc.
once upon a midnight dreary, while i pron surfed, weak and weary, over many a strange and spurious site of ' hot  xxx galore'. While i clicked my fav'rite bookmark, suddenly there came a warning, and my heart was filled with mourning, mourning for my dear amour, " 'Tis not possible!", i muttered, " give me back my free hardcore!"..... quoth the server, 404.
FloppY_
­
+1,010|6543|Denmark aka Automotive Hell

max wrote:

Sambuccashake wrote:

So there really isn't any type of Netlimiter for Mac that will perform this for me?

As stated before, this ipfw is something I've never heard of and have zero knowledge about.
You can't really break anything with ipfw. If you do somehow screw up, just delete the rule and try again.

I don't know of any netlimiter type programs for OS X, but maybe you can find a GUI frontend for ipfw

Where are the OS X gurus when you need 'em?

FloppY_ wrote:

max wrote:

you can limit the bandwidth of just the ports spotify uses with ipfw. Quick google suggests that it's ports 14000-65000. Just make sure port 80, 443, 21, etc. are unlimited.
ehm...

Keep open the first 1024 you mean?

I was more thinking along the lines that you could also limit everything and whitelist the usual ports for HTTP, HTTPS, FTP, etc.
Ye but kinda annoying whenever something want's to update or print etc. that you have to determine the port and open it by itself... the first 1024 ports are all system reserved so nothing should suck the life out of any connection within that...
­ Your thoughts, insights, and musings on this matter intrigue me
max
Vela Incident
+1,652|6825|NYC / Hamburg

fair enough.

Updaters and such shouldn't use much upload though
once upon a midnight dreary, while i pron surfed, weak and weary, over many a strange and spurious site of ' hot  xxx galore'. While i clicked my fav'rite bookmark, suddenly there came a warning, and my heart was filled with mourning, mourning for my dear amour, " 'Tis not possible!", i muttered, " give me back my free hardcore!"..... quoth the server, 404.
FloppY_
­
+1,010|6543|Denmark aka Automotive Hell

max wrote:

fair enough.

Updaters and such shouldn't use much upload though
My point exactly
­ Your thoughts, insights, and musings on this matter intrigue me
Sambuccashake
Member
+126|6868|Sweden
Anyone have any experience with "Throttled"?
https://media.macupdate.com/images/screens/uploaded/JPG/17967_scr.jpg

http://intrarts.com/throttled.html

Can't really tell if it's application specific (and directional at that) in the sense of "BF2", "Spotify", so on and so forth but it seems to be a UI frontend to ipfw.

Last edited by Sambuccashake (2010-09-16 06:56:23)

Board footer

Privacy Policy - © 2025 Jeff Minard