Throttle Shared Users With OS X — Is It Possible?
whisper_jeff writes "I work in a design studio where the production director is also the owner's son (translation = he can do no wrong). He is fond of accessing a designer's computer via filesharing and working directly on files off of the designer's computers rather than transferring the files to his computer to work on them there. In so doing, he causes the designer's computer to grind to a near-halt as the harddrive is now tasked with his open/save requests along with whatever the designer is doing. Given that there is no way he's going to change his ways (since he doesn't see anything wrong with it...), I was wondering if there was a way to throttle a user's shared access to a computer (Mac OSX 10.5.8) so that his remote working would have minimal impact on our work. Google searches have revealed nothing helpful (maybe I should Bing it... :) so I was hoping someone with more technical expertise on Slashdot could offer a suggestion."
Disable file shares on workstations. Use a file server.
Put a 10 MBit switch between his computer and the network... that'll do it... 8-)
Is it not possible to explain to this person the negative impact that his actions have? You explained it to us with one sentence:
In so doing, he causes the designer's computer to grind to a near-halt as the harddrive is now tasked with his open/save requests along with whatever the designer is doing.
Right after that line you say he doesn't see anything wrong with it. Have you not explained this to him?
And why are you sharing every workstation instead of using a single file server?
"Our two-party system is like a bowl of shit looking at itself in a mirror." - Lewis Black
Somehow, I find it surprising that you're managing to saturate a modern hard drive via a single network connection. Are you running extremely slow PCs on a ridiculously fast network? The workflow that you describe sounds pretty normal for a design studio.
-- If you try to fail and succeed, which have you done? - Uli's moose
You missed the part where he said "design studio" and "OS X." Also, since he is posting to /. for the answer, the idea of knowing what he _should_ be doing in an IT role is a stretch. I don't know why any office with more than 1 computer wouldn't have a file server, but hey, don't even ask him when his last off-site backup was, he may cry.
One Token Ring to Rule them All, One Search Engine to Find Them, One WAN to bring them in, and TCP/IP Bind them...
This twit isn't your problem. Throttling him on your own initiative is both passive-aggressive and might overstep what the owner expects, which could land you in hot water. Don't do that. Here's what you do instead. Go to the owner's office and say the following:
Why is it necessarily samba? If it's an all-Mac office, it could be AFP.
Unfortunately, when you're dealing with disk I/O, you can have processes that use little CPU but severely degrade disk performance by beating on the disk.
Even if it's at low priority, any seeks at all to a part of the drive that normally wouldn't be accessed will hurt performance.
It's not a case of "90% of the disk throughput for app A and 10% for B" - the moment you introduce B, the total performance drops significantly due to seeking coming into play.
retrorocket.o not found, launch anyway?
plant some weed in his desk and call the cops anon.
THL phish sticks
If the user already enjoys immunity due to nepotism, what do you think the boss will do to you if he finds out you are specifically targeting his favorite employee? You can't win here, not matter what you do.
Each designer can explain it away, saying "I noticed my computer was being slow, so rebooted it."
Because file servers cost money, and file servers, done right with redundancy for graphic design files cost lots of money. Most graphic design companies (all, by my experience, but I'm accept that another case may exist) have grown from one person, have no IT staff, and aren't willing to pay the price of another designer just to put files in one place no matter how much they know it's the right thing to do.
And about 50% have a decent backup plan with about half of that keeping data off-site, much higher than most other businesses of their size.
Except you are responding to childish behavior by acting like a child yourself, not treating them like a child. When your child kicks you in the shin, you don't kick them back to demonstrate the error of their ways. Being an asshole and pretending you're not responsible is not a mature way of dealing with things. (I was about to write "...not an *adult* way of dealing with things," but as you've probably noticed, many adults are not mature)
$_ = "wftedskaebjgdpjgidbsmnjgcdwatb"; tr/a-z/oh, turtleneck Phrase Jar!/; print
You obviously have never heard of productivity. The more your people have it, the less it costs you to get work done, the faster you can get work out and the more you can bill. We work on T&M, we make sure our people can produce as much as possible to leave as much buffer room in to check work and then take on more. A worker waiting costs me more than any hardware it would take to fix the situation.
Centralizing using a NAS box as a file server wouldn't cost much more than your monthly budget for burnt coffee. Plan for success, work the plan, let the plan work for you and then succeed because of the plan. Sounds like you can't budget. This is a business we are talking about, not a home "design studio", right?
His solution would not cost more than a couple thousand at most. If the owner's son is still "doing work" then they are probably not big enough to be an medium business. This means their storage needs are pretty light, hence cheap.
One Token Ring to Rule them All, One Search Engine to Find Them, One WAN to bring them in, and TCP/IP Bind them...
After a re-reading, I realised that the person asking the question doesn't describe themselves as a sys-admin. He said he "works in a design studio". So he might not have any real network responsibilities but might be looking to help a mate out.
Secondly, the ID10T causing the problems is the Production Director. He may be the boss's son, but in the company structure his position is over the top of just about everyone else. Technical issues should be taken to the Production Director first and foremost since it's part of his job to oversee productions.
Next: "He is fond of accessing a designer's computer via filesharing and working directly on files off of the designer's computers rather than transferring the files to his computer to work on them there."
So he isn't accessing the same files the designer is using at the same time, but accessing files for a project which he is allowed to do because he is the Production Director.
Why does the designer have all the files for a project that others working on the project (indeed others who actually direct the project) may need to use stored locally on his hard drive?
My advice is: don't take shortcuts. They'll only hurt you in the end. There is no such thing as a temporary fix, nor a permanent solution.
When they came for the communists, I said "He's next door. Take him away. Goddam commies."
I would wonder whether the designer has considered simply talking to the boss and explaining the impact in terms of dollars and hour?. If his boss does not try to correct his sons behaviour, then I would consider the throttling approach and then what other job opportunities there are. If this continual behaviour results in you wanting to leave the company, then you shouldn't really be worried about being getting fired for bringing the issue up with your boss.
Jumpstart the tartan drive.
I hate to say this, but this falls into the typical situation I see all the time in technology.
"You will never be able to solve a social problem with technology". Attempting to do so gives you a false sense of security in solving the real issue.
Aka: Solve technical problems technically, and social problems socially.
This should help: sudo nano -w /System/Library/LaunchDaemons/com.apple.AppleFileServer.plist
Add in the following lines:
LowPriorityIO
This will cause the AFP server on the file share to have only spare access to the disk.
"liberty and justice for all those who can afford it"