LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-03-2017, 05:08 PM   #1
jehonimo
LQ Newbie
 
Registered: Nov 2017
Posts: 8

Rep: Reputation: Disabled
Question SSD faster on Windows than Linux


I couldn't have come up with comparable benchmarking tool so measured coping speeds pf of a 2 GB .zip file on Linux ( with ext4 file system, partition only in 35% full ) with and Windows 10 ( NTFS file system, partition in around 50% full ). To clarify - I have copied the file only inside the same partition between the user folder and the desktop, so no NTFS to ext4 / ext4 to NTFS copying.

It turned out that Linux took on average around 20 - 30% more time to copy the file than Windows. Is it normal? Is ext4 under Linux slower than NTFS on Windows 10 or do I lack some firmware?
My specs:
- Fedora 26 with 4.13 kernel and Windows 10,
- UEFI: legacy suport and AHCI mode set to on; Fast and Secure Boot options set to off,
- Notebook - HP Probook 430 g4:
- m.2 WDC SSD with the capacity of 250GB
- 4GB of RAM 2133 MHz DDR4 ( + 4GB of SWAP on Linux )
- Intel Core I3 7100U,

Last edited by jehonimo; 11-03-2017 at 05:26 PM.
 
Old 11-03-2017, 08:41 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
I don't doubt it.

I'm not sold on the fact that linux is better in every way and under every instance.

Every few weeks you see a test of some linux kernel and some hardware and some file system(s). They can only compare linux to linux in these tests usually. The test involves many different tests and you end up getting an idea of a winner for some use. Your test is a single test.

The file system on windows 10 is pretty advanced.


Way way way back when linux was trying to make an OS you have to realize that they didn't get all the internal hardware information from hardware makers. The close integration between microsoft and hardware makers would lead me to believe that not only are windows OS's fast but that hardware has been designed for it. The companies that make hardware almost always do it with windows in mind. Linux driver coders still can't get all the hardware information and they tend to make the drivers on their free time using what they have.

Last edited by jefro; 11-03-2017 at 08:44 PM.
 
Old 11-04-2017, 04:35 AM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
what commands did you use?
i notice that my filemanager seems to have problems in certain situations, so i'd use the command line.
it is extremely important to add a sync to your command, like this:
Code:
cp this that; sync
on both systems, linux and windows (unfortunately i do not know what the windows equivalent is).
only when the prompt returns after the sync, should you stop your watch.

and show us some numbers.

Last edited by ondoho; 11-04-2017 at 04:36 AM.
 
Old 11-04-2017, 07:04 AM   #4
firenze465
Member
 
Registered: Oct 2017
Posts: 42

Rep: Reputation: Disabled
Quote:
Originally Posted by jehonimo View Post
Intel Core I3 7100U,
The Core I3 7100U is a special processor which is designed to run on low wattage. It can run off a mobile phone as well as your notebook.
The 7100U is designed for energy efficiency rather than speed.

Intel also makes Kaby Lake processors for medium wattage (laptops) and high wattage (desktops).

It is possible that different rules are in place between MS and Linux for file transfer speeds to keep the temperature low on your processor.

Nonetheless, I have to agree that the Windows OS is faster than the Fedora OS on file transfer speed.
 
Old 11-04-2017, 08:00 AM   #5
jehonimo
LQ Newbie
 
Registered: Nov 2017
Posts: 8

Original Poster
Rep: Reputation: Disabled
It's weird. I have created a 6GB Truecrypt file and copied it on ext4 and ntfs ( ext4 to ext4 and ntfs to ntfs). Here are the results:
Fedora:
through Nemo: 1:20s
through Nautilus: 1:40
through Terminal ( cp [FILE] [dest]; sync ) 2:06

Windows:
through windows explorer: 40s

How is it soo much different?
Oh and cpu usage when coping files on linux and windows is about 10 - 20% with cp / file manager rarelly exeeding 10%.

What do you mean there are medium-wattage cpus for laptops? I have thought all new Kaby Lake CPU run with 15W TDP

Last edited by jehonimo; 11-04-2017 at 08:09 AM.
 
Old 11-04-2017, 08:56 AM   #6
Teufel
Member
 
Registered: Apr 2012
Distribution: Gentoo
Posts: 616

Rep: Reputation: 142Reputation: 142
when windows explorer reports that the file was copied in 40 secs it doesn't means the copy was really finished. In fact this operation may still run in background, though filemanager already reported that the job done. The same for Nemo and Nautilus.
In fact only cp+sync command shown real copying time.

Just remember that when you copy a file to USB drive and then trying to disconnect it with "safe disconnection" you have to wait few seconds until copy will really finished (though it was reported as already done) and you can safely remove a drive. If you will disconnect a drive immediately after filemanager report, without "safe disconnection" (in fact it just a sync command) mostly you will get damaged file, it will be copied partially.

So these tests with file managers (explorer, nemo etc) not objective.

You might get more realistic results when copying to external drive and applying "safe disconnection". Time from copy starting to report that device can be safely removed
 
1 members found this post helpful.
Old 11-04-2017, 09:31 AM   #7
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
Maybe it is like that and it takes a bit longer.

The last 20 years I have not been able to copy a directory on Windows without the copy action stopping at least once asking me a dumb question about overwriting, a file being locked for reading (!), a file being in use or a system file.

So I prefer a Linux copy operation which is 3 times as slow but continues unattended over a Windows operation which might be faster, but overall slower. If you do a copy action in Windows taking 20 minutes you better keep watching it to push buttons.

I agree with previous posters saying that Windows developers have better access to hardware internals.

And the bottom line: who cares? As long as Linux does what I want it to do and do it without constant interaction needed I am more than happy.

jlinkels
 
Old 11-04-2017, 09:43 AM   #8
firenze465
Member
 
Registered: Oct 2017
Posts: 42

Rep: Reputation: Disabled
Quote:
Originally Posted by jehonimo View Post
What do you mean there are medium-wattage cpus for laptops? I have thought all new Kaby Lake CPU run with 15W TDP
A simple search on Kaby Lake will show you that Intel makes each generation of cpus to run at many different temperatures.

If an i7-7700K is put on a laptop, the battery will run out too quickly.
A desktop pc doesn't need a battery, so it can use the i7-7700K.

But the need to create an i5 family and an i7 family is pure daylight robbery.
If Intel can make an i5 - then they can make an i7 at the same cost.
But as we know, we have to pay much more for the i7.

On top of that, to overclock the cpu (to get the most bang for your buck) you need to have a 'specially made' i5/i7 on a 'specially made' motherboard.
But the Taiwan motherboard manufacturers have already proved that any Intel desktop cpu can be overclocked - not just the expensive ones.

But Intel has put a stop to that.
Why? Cos you simply ain't paying enough money to Intel.
 
Old 11-04-2017, 09:51 AM   #9
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
PS:
https://stackoverflow.com/questions/...nd-for-windows
 
  


Reply

Tags
comparison, linux, speed, ssd, windows 10



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is USB faster or SSD faster? resetreset Linux - Hardware 5 10-08-2016 03:10 PM
Windows + HDD -> Windows+Linux SSD nix.noob Linux - Newbie 4 08-09-2013 02:54 PM
LXer: Linux is faster than Windows LXer Syndicated Linux News 2 05-13-2013 03:48 PM
Dual boot Windows/Linux off SSD arubin Linux - General 6 08-23-2012 09:16 AM
Windows faster than linux??? ospaco69 Debian 19 08-21-2008 11:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration