windows-10

Windows 10 poor performance compared to Windows 7 (page fault handling is not scalable, severe lock contention when no of threads > 16)

僤鯓⒐⒋嵵緔 提交于 2019-11-30 10:31:24
问题 We set up two identical HP Z840 Workstations with the following specs 2 x Xeon E5-2690 v4 @ 2.60GHz (Turbo Boost ON, HT OFF, total 28 logical CPUs) 32GB DDR4 2400 Memory, Quad-channel and installed Windows 7 SP1 (x64) and Windows 10 Creators Update (x64) on each. Then we ran a small memory benchmark (code below, built with VS2015 Update 3, 64-bit architecture) which performs memory allocation-fill-free simultaneously from multiple threads. #include <Windows.h> #include <vector> #include <ppl

Enable cURL on PHP7 windows10 64 bit Apache 2.4

▼魔方 西西 提交于 2019-11-30 09:11:09
I am using Windows10 64 bit Apache 2.4.25 (Win64) PHP 7.1.0-Win32-VC14-x64 when i try calling curl_init() function, i get an error saying "Call to undefined function curl_init()" tried following copying ssleay32.dll & libeay32.dll & php7ts.dll to apache/bin folder setting path properly to include above files "C:/PHP;" Any help much appreciated. Here are the steps from obtaining PHP to enabling cURL: Download PHP (these steps tested with 7.1) Add PHP folder to PATH environment variable Update php.ini file with absolute path for extension directory and uncomment php_curl.dll and php_openssl.dll

How can i use CMake to generate Windows 10 universal project

心不动则不痛 提交于 2019-11-30 09:06:42
I'm trying to use CMake to generate Visual Studio 15 project c++ static library for Windows 10. It should be usable on phones so I think it should have support for windows store. Are there any flags I can set? I've found https://github.com/Microsoft/CMake , it is Microsoft's fork of CMake, but I can't find a clue how to use it to enable uniwersal app support. With "normal" cmake when i switch on support for windows stope I get an Error: error MSB3843: Project "project1" targets platform "Windows", but references SDK "Visual C++ 2015 Runtime for Universal Windows Platform Apps v14.0" which

Built-in Administrator account has no rights for some actions in Windows 10

不问归期 提交于 2019-11-30 09:05:33
问题 At some point I started getting following problems in Windows 10. Microsoft Visual Studio 15 is showing the following error when I'm trying to run compiled Windows universal application: Unable to activate Windows Store app ... The activation request failed with error 'This app can't be activated by the Built-in Administrator' After trying to personalize Windows 10 desktop I'm getting the error message: This app can't be open Settings can't be opened using Built-in Administrator account. Sign

Setting up Qt5 with Visual Studio 2015

人盡茶涼 提交于 2019-11-30 08:49:58
Searching Google for 'Qt5 - Windows 10 - VS 2015' only brought up a blog post from April stating that support for VS 2015 is in the works ( link ). The Qt5 downloads page (OpenSource version) currently has no links for Visual Studio 2015. So, is it possible to use Qt5 in VS 2015, or do I just have until something new comes up? PS. I just want to avoid installing VS2013 on top of VS2015. I can build from source should it be needed. Thanks in advance Gregory Pakosz I just wrote a small article explaining how to compile Qt 5.5.1 (with QtWebkit) with Visual Studio 2015 . I realize this is by no

How to pin/unpin Microsoft Edge developer tools in Windows 10

懵懂的女人 提交于 2019-11-30 08:38:51
I have upgraded to Windows 10; had a great experience on installation process. But very strange thing is I am not finding a way to pin (ctrl+9 for IE) the Developer Tools to an existing window with the MS Edge browser app. Is it missing? Correct, pinning/unpinning the F12 developers is not available in current builds of Microsoft Edge (10240). This is a known issue and we are planning to bring it back in a future update. In my laptop , the Microsoft Edge has it pinned. And the icon with the shoutcut (Ctrl+P) is back too. Microsoft Edge 25.10586.0.0 Microsoft EdgeHTML 13.10586 And in my desktop

“A Setup Package is either missing or damaged” error while installing Visual Studio 2015 on Windows 10

孤人 提交于 2019-11-30 07:49:23
During the installation of Visual Studio 2015 Community on Windows 10 the following error occurred for me: A Setup Package is either missing or damaged. Since vcredist_x86.exe and vcredist_x64.exe files correspond to Visual C++ Redistributable Packages for Visual Studio 2013 , I provided a location to packages after downloading them ( third option on the screenshot). After that the installation went smoothly. So the question: are Visual C++ Redistributable Packages for Visual Studio 2013 required for installing of Visual Studio 2015 , is there any prerequisites for installing of Visual Studio

Python multiprocessing on Windows 10

可紊 提交于 2019-11-30 07:18:32
I'm running some code on both a Windows 7 pc and a Windows 10 laptop: def project(filename): **Do Something Here** if __name__ == '__main__': pool = Pool(processes=4) results = [pool.apply_async(project, args=(filename,)) for filename in filenamelist] output = [p.get() for p in results] print output Both computers are dual core/4 threads, so they should both be fine running 4 processes. The problem I have is that when I run the code on Windows 10 I get 4 python processes running, but they use 0% of the cpu and they will not output anything, unlike the Windows 7 pc which will run at full usage

Retrieving Windows version “1511”

不问归期 提交于 2019-11-30 07:17:07
问题 The latest release of Windows 10 (currently Insider Preview) is badged as: Version 1511 (OS Build 10586.3) when looking in "About Windows" ( Start > Run > winver ) Using an appropriately manifested console application, the Windows version returned from System.Environment.OSVersion.Version is 10.0.10586.0, which contains neither the "1511" or ".3" components of the version reported by winver. There do appear to be strings in the registry under HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion

Thread.Abort in ASP.NET app causes w3wp.exe to crash

三世轮回 提交于 2019-11-30 07:15:44
Please do not set duplicate flag on this qustion - it is not about "why ThreadAbortException occurs", it is about "why w3wp.exe process terminates after ThreadAbortException". Let's say we have simple web application with following code sample: protected void Page_Load(object sender, EventArgs e) { Response.Redirect("http://google.com"); } Which by fact means something like (see Is Response.End() considered harmful? ): protected void Page_Load(object sender, EventArgs e) { ...response write some data... System.Threading.Thread.CurrentThread.Abort(); } On my machine (Windows 10 Pro + IIS) this