LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-05-2025, 06:59 PM   #1
exerceo
Member
 
Registered: Oct 2022
Posts: 155

Rep: Reputation: 31
Question How to read data from an ext4 with higher block size than 4K on x86_64?


[Log in to get rid of this advertisement]
ext4 supports a block size of up to 64K, but Linux can only read ext4 file systems with block sizes not exceeding the CPU page size, which is 4K for x86_64 (getconf PAGESIZE).

Is there any way to read data from a higher block size ext4? I know, it will probably not have good performance, but still. mkfs.etxt4 can creade a 64K block file system on any system.
 
Old 09-06-2025, 12:10 PM   #2
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,636
Blog Entries: 7

Rep: Reputation: 2073Reputation: 2073Reputation: 2073Reputation: 2073Reputation: 2073Reputation: 2073Reputation: 2073Reputation: 2073Reputation: 2073Reputation: 2073Reputation: 2073
From what I have read, you can make a ext4 file system with a greater than 4K block size, but you'll need to edit/recompile your kernel to read it on a linux machine.
 
Old 09-18-2025, 01:48 AM   #3
xlfs-0.2
Member
 
Registered: Oct 2022
Posts: 512

Rep: Reputation: 69
that may not work better and depends on chip internals and how linux uses them

making large blocks means if you read a small file you take a penalty. this includes software that "reads allot of data" with internal block sizes sized to not over-run internal software buffers

back to kernel land: the disk has a built-in 8M or what cache and linux caches. what you'd save probably will disappoint you unless you "edit movies allot and really need large block sizes" at any cost to the rest of the system
 
Old 09-18-2025, 01:49 AM   #4
xlfs-0.2
Member
 
Registered: Oct 2022
Posts: 512

Rep: Reputation: 69
nothing stops software from utilizing hardware to read long blocks per say

but you are talking about forcing a solution system wide i assume
 
  


Reply

Tags
file systems



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
Linux Virtual Memory size; Page size; Resident Data Size; DB2Database; Explanation ANanalanalyzer Linux - Newbie 1 09-28-2018 04:50 PM
[SOLVED] EXT4-fs: bad geometry: block count (large number) exceeds size of device Anna1987 Linux - Newbie 9 02-26-2013 02:30 PM
ext4 block size daisychick Linux - Newbie 8 03-11-2012 10:12 PM
ipm timed out error on Red Hat 2.6.9-67.0.22.ELsmp #1 SMP x86_64 x86_64 x86_64 GNU/L bellnarm Linux - Newbie 0 07-07-2009 04:36 PM
LXer: Open Source professionals higher skills, higher paid: survey LXer Syndicated Linux News 0 03-11-2008 04:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:51 PM.

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