rss2
Alois Kraus
aloiskraus.wordpress.com · English
Performance is everything. But correctness comes first.
rss2 wordpress content media slash wfw atom dc sy
https://aloiskraus.wordpress.com/feed/
- Last post
- Mar 16, 2026
- Posts in 24 h · 7 days · 30 days
- 0 · 0 · 0
- Our last check
- Answering
- Served from
- United States
- Text score at discovery
- 32,046
- Format
- rss2
- Features in the feed
- content, media, slash, wfw, atom, dc, sy
- Community
- wordpress
Posts
What our queue read from this feed. Open one to read it here, or go to the site that published it.
- Stop Writing Log File Viewers By Yourself
Mar 16, 2026 · original
There are many tutorials on using AI for coding, but far fewer on using AI for log analytics. We are living in exciting times as AI improves every day. If you spend most of your time troubleshooting business applications through log files, you might assume AI cannot help much yet. In most environments, scripts collect logs from production servers or client machines. On Windows, these event logs are usually the first place to look: Application System Security In addition, application-specific logs are usually captured as well. Depending on your setup, you may have one or more custom viewers to inspect them during production incidents. In cloud environments, vendor tooling (for example, Kusto in Azure) is excellent for analysis. Still, there are times when you need to export raw incident data and inspect it in detail with a text-based workflow. In on-premises container environments, this o - Windows Task Manager Shows Misleading Values
Feb 9, 2025 · original
640KB 100% are enough for everyone. I am talking about the Task Manager % CPU Utilization Graph and why it’s 100% Utilization in the overall CPU % Utilization view is sometimes wrong, often misleading, and nearly aways useless for performance troubleshooting, although working correctly according to the specs. Update2 The fixed Task Manager has arrived in Windows 11 24H2 and later. CPU utilization is now representing actual core usage in CPU graph. CPU Utility was added to Details view and is no longer capped at 100%. This is great news for everyone who wants to quickly see if some process is using more CPU than it should without the exaggeration of frequency scaling. Update2 End Update 1 I do not know if enough people have complained, but Microsoft decided to roll back this strange behavior and aims for consistency and usable numbers. See https://blogs.windows.com/windows-insider/2025/02 - The Final Windows Handle Leak Guide
Jun 24, 2024 · original
One of the harder lesson during development is how to deal with leaks. Most of the time you are leaking memory but sometimes also OS resources like Handles. These are more difficult to detect because the application does not use excessive amounts of memory when leaking OS resources. Leaks are not just wasteful; they can also be a source of hard-to-spot bugs. Below is a list of handle types that can be leaked. There are many uncommon handle types, primarily used by Windows itself: ALPC Port Composition CoreMessaging Desktop Device Directory DxgkCompositionObject DxgkDisplayManagerObject DxgkSharedResource DxgkSharedSyncObject EnergyTracker EtwConsumer EtwRegistration Event File FilterCommunicationPort FilterConnectionPort IRTimer IoCompletion IoCompletionReserve Job Key Mutant Partition PcwObject PowerRequest Process RawInputManager Section Semaphore Session SymbolicLink Thread Timer TmEn - Hybrid CPU Performance on Windows 10 and 11
Feb 8, 2024 · original
What are hybrid CPUs? Hybrid CPUs are CPUs which have fast, but power hungry cores and slower but less energy consuming cores integrated into a CPU. All consumer grade desktop CPUs from Intel since Alder Lake (CPU number 12xxx or greater which was released in 2022) are hybrid CPUs. If you have recently bought an Intel CPU the chances are nearly 100% that you have bought a hybrid CPU. In theory, everything should run faster with newer CPUs. But in practice, there are issues, if you want to run software which was not prepared for hybrid CPUs. E.g. if you need to replace old machines with newer ones which run your software on hybrid CPUs which still needs Windows 10. There are many great reviews online which talk about the performance of hybrid CPUs on Windows. Some have also noticed that there are issues with processes with below normal priority: Intel gave an example of a content creator, - Windows 10 April update can cause data corruption
May 24, 2023 · original
Starting with Windows 10 KB 5025221 I had issues in Outlook to attach files to mails. Drag and Drop did become unreliable and would sometimes silently do nothing. When I tried the Attach File dialog it would most of the time work, but sometimes fail with: Update 2 The issue is fixed with June 2023 KB5027215 . Update MS has listed for this KB a Known Issue Rollback which is a MSI that uninstalls the specific portions of the problematic update. The detailed description shows that only CopyFile is affected but not MoveFile. My tests confirm this. More details about KIRs are https://techcommunity.microsoft.com/t5/windows-it-pro-blog/known-issue-rollback-helping-you-keep-windows-devices-protected/ba-p/217683 . That was annoying but not really problematic. More serious was that somtimes I could not open attached PDF files. This resulted in a file not found error box. The issue was sporadic eno - WPA fails with 0x80070032
Mar 8, 2023 · original
Sometimes I get ETW traces which cannot be loaded by WPA. Initially I found these on Windows Server 2022 on a VMWare machine. I suspected some issue how VMWare virtualizes things on newer OSes but I did get this error also on my new non virtual Windows 11 box. After asking around it turned out that this is side effect of .NET 7 processes. When a .NET 7 process is running and you use WPR profiles you will get unreadable traces back. When you try to process them with TraceProcessing Library you get something like C:\Tempetwanalyzer -extract all -fd test.etl 1 - files found to extract. Error: One or more errors occurred. (The request is not supported. ( 0x80070032 )) Check C:\Utils\ETWAnalyzer\ETWAnalyzer_Trace.log for full details, or use -debug switch to get full output. Error: EventSink {39cda801-59d8-472d-bc00-601a4150c4c4} returned HRESULT 0x80070032 on: Event#: 294800 (T#0:#294800) Ti - War Story: How Antivirus solutions can bring a server down
Dec 11, 2022 · original
From a performance point of view Antivirus scanners are the worst things that have happened to computers during the last ca. 5 years. Sometimes it is hard to differentiate the CPU activity of an AV scanner from a bitcoin miner. Both are eating your CPU to give you either virtual security or virtual money. Whenever something is mysterious and slow I get a call. In this case a beefy Windows Server was working happily, but a few times a day everything would freeze for up to 5 minutes. The solution to get back to speed was to reboot the server when it got stuck. When the server got stuck, it was at 100% CPU for several minutes. That sounds like an obvious CPU problem. Identify the problematic process and uninstall the app which is causing problems. To identify the issue ETW Traces were taken. Everything was working fine until the ETW profiling events stopped in the recording. Several minutes - .NET Serialization Roundup 2022
Nov 22, 2022 · original
The last test is from 2019 which is still accurate but the world is changing and we have arrived at .NET 7.0 which is reason enough to spin up my test suite again and measure from .NET 4.8, 3.1, 5.0, 6.0 up to 7.0. The “old” articles are still relevant despite their age. https://aloiskraus.wordpress.com/2019/09/29/net-serialization-benchmark-2019-roundup/ https://aloiskraus.wordpress.com/2018/05/06/serialization-performance-update-with-net-4-7-2/ https://aloiskraus.wordpress.com/2017/04/23/the-definitive-serialization-performance-guide/ The following serializers are tested Name Home Type BinaryFormatter .NET Binary – BinaryPack https://github.com/Sergio0694/BinaryPack Binary Bois https://github.com/salarcode/Bois Binary – Ceras https://github.com/rikimaru0345/Ceras Binary DataContract .NET Xml – FastJson https://github.com/mgholam/fastJSON/ Json FlatBuffer https://google.github.io/flatbu - Slow network after adding a second WIFI Access Point
Nov 6, 2022 · original
Networking is hard and many things can go wrong. I have bought an Oculus Quest VR headset for my daughter. Soon I have found it frustrating to connect it via an USB cable to my PC. To get rid of the cable I have bought a cheap TP-Link Archer C5 AC1200 router which I connect via my LAN cable to the PC. After becoming wireless I can send realtime VR images over my dedicated WIFI to the VR headset with stable 150 MBit/s. The “real” WIFI (yellow) which is connected to the internet is located in another room which is not capable to transfer 150 MBit/s without any interrupts which would kill the VR experience. That is the reason why nearly everyone recommends to use either an USB cable (inconvenient) or a LAN cable (blue) connected to a dedicated WIFI router for the VR headset. That setup works great, but I have noticed that whenever I have the second router running that browsing the internet - PDD Profiler Driven Development
Jul 25, 2022 · original
There are many extreme software development strategies out there. PDD can mean Panic Driven, or Performance Driven Development. The first one should be avoided, the second is a MSR paper dealing with performance modelling techniques. Everyone writes tests for their software because they have proven to be useful, but why are so few people profiling their own code? Is it too difficult? I have created a C# console project named FileWriter https://github.com/Alois-xx/FileWriter which writes 5000 100KB files (= 500MB) to a folder with different strategies. How do you decide which strategy is the most efficient and/or fastest one? As strategies we have Single Threaded Multi Threaded with TPL Tasks Multi Threaded with Parallel.For 2,3,4,5 Threads The serial version is straightforward. It creates a n files and writes in each file a string until the file size is reached. The code is located at ht
Discovered by the rss-feed-index crawler, which checks each feed at most once a month.
Same record as JSON: https://api.agentalog.com/api/feeds/fd_aloiskraus_wordpress_com_436b20b4efd185ca. More from this site: aloiskraus.wordpress.com in the Feeds tab.