A bought a N66U wireless router that works perfectly while I started upgrading the firmware. I met a problem mentioned in title different time interval (there were 10 minutes or 1hour not dependent the throttling). My first think about the heating problem but the extra fan don't solved my issue.
After a long search I a find a solution that fix my problem: Under Advanced Settings/Wireless I had to turn off the "Optimized for Xbox" option.
Friday, 22 April 2016
Friday, 18 March 2016
Remove VS2015 git provider
I was unable to disable VS git provider. When set to 'None' in options at restart of VS it was enabled.
You can totally disable in regedit:
Navigate to
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0_Config\SourceControlProviders
Delete
11b8e6d7-c08b-4385-b321-321078cdd1f8 This one is the GitProvider but you can delete other ones.
Friday, 12 February 2016
Git disabe auto gc
I saw several times the following message from git: "Auto packing deferred; not on AC".
This is very annoying because of the Google Repo tool for Windows create symbolic link to the git folders and this one block to use the 'git gc' command. You can disable permanently the working of gc:
git config --global gc.auto 0
Monday, 8 February 2016
Quick search of missing Linux developer package
There is a little trick to find that library which is missing:
e.g.:
You get the next error at compile:
fatal error: X11/Xlib.h: No such file or directory
I always forgot which package should I install but this little application can help me out the problem:
apt-file search Xlib.h
Sometime you have to install manually the apt-file package too.
Saturday, 6 February 2016
NAS tcp tuning
I found some article that set up for low-latency general purpose network desktop.
This settings keep until reboot.
$ su
$ echo 12582912 > /proc/sys/net/core/rmem_max
$ echo 12582912 > /proc/sys/net/core/wmem_max
$ echo '10240 87380 12582912' > /proc/sys/net/ipv4/tcp_rmem
$ echo '10240 87380 12582912' > /proc/sys/net/ipv4/tcp_wmem
$ echo 32768 > /proc/sys/net/core/netdev_max_backlog
On NAS the previous settings decrease the number of this kind of messages from dmesg:
TCP: Peer xxx.yyy.191.66:8153/4109 unexpectedly shrunk window 735219438:735220878 (repaired)
TCP: Peer xxx.yyy.191.66:8153/4109 unexpectedly shrunk window 735219438:735220878 (repaired)
This settings keep until reboot.
$ su
$ echo 12582912 > /proc/sys/net/core/rmem_max
$ echo 12582912 > /proc/sys/net/core/wmem_max
$ echo '10240 87380 12582912' > /proc/sys/net/ipv4/tcp_rmem
$ echo '10240 87380 12582912' > /proc/sys/net/ipv4/tcp_wmem
$ echo 32768 > /proc/sys/net/core/netdev_max_backlog
On NAS the previous settings decrease the number of this kind of messages from dmesg:
TCP: Peer xxx.yyy.191.66:8153/4109 unexpectedly shrunk window 735219438:735220878 (repaired)
TCP: Peer xxx.yyy.191.66:8153/4109 unexpectedly shrunk window 735219438:735220878 (repaired)
Git performance hacks on Windows
I also meet the git issue about performance. There're some option that can help a little bit:
$ git config --global core.preloadindex true
$ git config --global core.fscache true
$ git config --global gc.auto 256
Thursday, 28 January 2016
Visual Studio 2015 skip stl::* stepInto
I found a solution on the net to skip the entering into VS stl templates:
You should edit this file:
c:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Packages\Debugger\Visualizers\default.natstepfilter
By default defense the UAC and readonly, but you can replace this file. This file is an XML and add the following line between <StepFilter /> tag:
<Function>
<Name>std\:\:.*</Name>
<Action>NoStepInto</Action>
</Function>
Start VS and test it. There is an interesting of this solution stop in stl template if you put a breakpoint. After I removed it the filter works like a charm.
You should edit this file:
c:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Packages\Debugger\Visualizers\default.natstepfilter
By default defense the UAC and readonly, but you can replace this file. This file is an XML and add the following line between <StepFilter /> tag:
<Function>
<Name>std\:\:.*</Name>
<Action>NoStepInto</Action>
</Function>
Start VS and test it. There is an interesting of this solution stop in stl template if you put a breakpoint. After I removed it the filter works like a charm.
Subscribe to:
Posts (Atom)