问题
The Network Link Conditioner preference pane (installed from the "Hardware IO Tools for Xcode - Late July 2012" DMG on the Apple developer site) doesn't appear to have any effect when turned on. The original author of this question reported the symptoms on Mountain Lion. A later editor experienced the same symptoms and lack of expected network behavior change on Lion, with Xcode 4.5.1 installed.
When enabled, /var/log/system.log shows:
Jan 17 17:36:14 matt-mmf-macbook [0x0-0x1d01d].com.apple.systempreferences[371]: System Preferences(371,0x10fac7000) malloc: *** auto malloc[371]: error: GC operation on unregistered thread. Thread registered implicitly. Break on auto_zone_thread_registration_error() to debug.
Jan 17 17:36:18 matt-mmf-macbook System Preferences[371]: process command (simulate) failed
Jan 17 17:36:18 matt-mmf-macbook [0x0-0x1d01d].com.apple.systempreferences[371]: _nlc_start_simulation: (os/kern) failure
Jan 17 17:36:18 matt-mmf-macbook System Preferences[371]: Starting Network Link Conditioner
And the network connections do not exhibit the behavior specified by the selected profile.
Has anyone successfully gotten it to work, or figured out what the error in system.log might mean? As of 2013-01-17, the "accepted/correct" answer does not work for everyone experiencing the symptoms.
回答1:
i just had the same problem. Installed the Conditioner pane on Lion and after updating to Mountain Lion, it still was available in the settings pane, but had no effect when turned on.
i fixed that by just removing the Conditioner (right click in the settings pane -> Remove "Network...") and reinstalling it from the Hardware IO Tools Image (Late July 2012).
Hope it works too for you. i think the os x update must have overwritten something.
回答2:
I'm having this problem on Lion. None of the methods in here worked. I found another tool called SpeedLimit (it's a free preference pane) and it works fine. http://mschrag.github.io/
来源:https://stackoverflow.com/questions/12414676/network-link-conditioner-seems-to-have-no-effect-on-network-behavior-on-lion-mo