login to rate this
.NET BlogEngine 4.0 [non-official]
7/28/2024 8:41:51 AM
0
0
|
login to rate this
[.NET7] Design Patterns: Facade in a Web Application
7/28/2024 8:41:52 AM
5
0
|
login to rate this
[.NET7] Design Patterns: Repository in a Web Application
1/6/2023 7:51:12 AM
0
0
|
login to rate this
[.NET7] IP GeoLocation with Dependency Injection and Custom Middleware
1/14/2023 3:15:14 PM
0
0
|
login to rate this
[.NET7] Weather Forecast with Dependency Injection and Custom Middleware
10/3/2023 10:35:11 AM
0
0
|
login to rate this
2 ways for creating QR Code using ASP.NET
12/13/2017 3:38:08 PM
0
0
|
login to rate this
AMD Ryzen 9 home server with Fedora 41 and .NET 8
11/12/2024 4:51:32 AM
17
1
|
login to rate this
ASP.NET MVC Routing with @
4/11/2017 5:33:20 PM
0
0
|
login to rate this
ASP.NET MVC Routing with Constraints
4/11/2017 5:33:21 PM
0
0
|
login to rate this
BlogEngine.NET 3.3.5 with a BBQ Sauce
4/2/2022 10:43:59 AM
0
0
|
login to rate this
BlogEngine.NET 3.3.5 with a BBQ Sauce: Part 2
7/21/2022 8:08:20 PM
0
0
|
login to rate this
EF7 on .NET Core 7 (Preview): Fedora 35 x Windows 11 (41 Million Rows)
8/3/2022 10:16:31 AM
0
0
|
login to rate this
Entity Framework Core 6: Fedora 35 x Windows 11 (41 Million Rows)
8/3/2022 10:19:30 AM
0
0
|
login to rate this
Entity Framework Core 7 (Preview): Fedora 35 x Windows 11 (41 Million Rows)
8/3/2022 10:20:01 AM
0
0
|
login to rate this
Entity Framework Providers for the .NET BlogEngine
4/2/2022 10:42:29 AM
0
0
|
login to rate this
Enum as String in EF Core
10/9/2023 2:49:39 AM
0
0
|
login to rate this
Facebook: Data Deletion Callback URL in C#
12/18/2021 5:41:17 PM
0
0
|
login to rate this
How to fix the Could not load file or assembly 'System.IO.Compression' or one of its dependencies exception
8/17/2022 3:15:48 PM
0
0
|
login to rate this
How to Recover Access to your Account in an ASP.NET Application using the Membership (without decrypting your password)
4/2/2022 10:49:35 AM
0
0
|
login to rate this
Installing and Configuring Jenkins with GIT to Build and Deploy Your .NET Application
10/3/2023 2:14:27 PM
0
0
|
login to rate this
Installing and Configuring Jenkins with SVN to Build and Deploy Your .NET Application
10/3/2023 2:15:25 PM
0
0
|
login to rate this
IP GeoLocation with Unity and Dependency Injection
12/10/2021 11:15:01 AM
0
0
|
login to rate this
NHibernate Providers for the .NET BlogEngine
4/2/2022 10:42:14 AM
0
0
|
login to rate this
No mercy for the ORMs: Load and Performance Test on EF Core, NHibernate and pure ADO.NET (41M rows)
4/9/2022 5:45:52 PM
0
0
|
login to rate this
Resizing images on a Controller Method in ASP.NET Core (.NET 6)
1/5/2022 9:36:46 AM
0
0
|
login to rate this
Streaming Video Files in ASP.NET MVC
1/18/2022 10:46:48 AM
0
0
|
login to rate this
Testing your MVC App on XSP/mono in Fedora (before deploying to Apache)
1/1/2022 10:57:29 AM
0
0
|
login to rate this
Weather with Unity and Dependency Injection
7/21/2022 8:09:56 PM
0
0
|
nbolt
Hi Folks! In this post I am going to benchmark one application developed in Entity Framework .NET Core 6 (an application that inserts, updates and deletes 41 million rows - well, the deletion process is so slow it's not worth benchmarking). I will run it on Windows 11 Pro and Fedora 35 Workstation.
If you want know more details about the txt file used to import all the data, please refer to this post.
Clone the git repository here.
Let's talk about the environments (hardware and software) for both of the OSes.
Windows 11 Pro

The PC running the .NET Core 6 application on Windows is an AMD Threadripper 1950X with 32GB of DDR4@3600. The motherboard is an Asrock X399 Taichi and the SSD is an ADATA XPG Pro SX6000, 512GB (reads 2100MB/s, writes 1500MB/s). The OS edition is the Windows 11 Pro, version 21H2. The database server used was the SQL Server 2019 Developer edition.
Fedora 35 Workstation

The PC running the .NET Core 6 application on Fedora is the same: an AMD Threadripper 1950X with 32GB of DDR4@3600. The motherboard is an Asrock X399 Taichi, but the SSD is an ADATA XPG Pro SX8200, 512GB (reads 3500MB/s, writes 2300MB/s). The OS edition is the Fedora 35 Workstation 64 bits, Kernel 5.16. The database server used was the SQL Server 2019 Developer edition.
You might be thinking: this SSD is better than the SX6000, the application running on linux will perform better than the windows one. Yeah, but in reality the benchmark was a lot different. Let's have a look at it!
The Benchmark


As you can see in the charts, Windows took 4.185 hours to insert the 41M rows, while Fedora took 9.9 hours. In the update operation, the difference in performance is even larger: Windows took 5.4 hours to load and update all 41M rows, while Fedora took an astounding 19.4 hours. I'd like to say I am very disappointed with the linux performance, I thought it would be at least comparable with the windows environment.
I even ran the application with MySQL as the database server, but the performance didn't change.
Conclusion
Even though applications developed in .NET Core can be ported to Linux, don't rush to deploy them on it yet. It really is a shame the application performed so badly. Well, let's wait for .NET 7 then and see if anything changes.
nbolt
nbolt
nbolt

We use cookies and similar technologies to enhance your browsing experience, analyze site traffic, personalize content, and serve targeted advertisements. By continuing to use our site, you consent to our use of cookies. And click OK to close this pop-up window.