Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello,
i was wondering which ZFS rec0rdsize to set if my average disk read size operation (zpool iostat -r) is from 512 up to 128k while the mean is around 64k.
I am wondering if i should rather do not set it and let Z.F.S detect the size on its own or set it really to that mean value.
Hello,
i was wondering which ZFS rec0rdsize to set if my average disk read size operation (zpool iostat -r) is from 512 up to 128k while the mean is around 64k. I am wondering if i should rather do not set it and let Z.F.S detect the size on its own or set it really to that mean value.
Again, you provide no details that would let anyone give a meaningful answer.
Most everything about ZFS in regards to write-amplification takes into account the media being written to, the controller, physical connection, mean size of the files, types of data, etc., and none of that is present here. Not even the version/distro of Linux. Which leaves most things up to you to decide.
Again, you can adjust your own system on the fly and tune it for what's best for your system/data/needs, and find out for yourself. You asked for 'experience'...mine is, I made adjustments to my system until I found what worked for me.
Arnold, i do not think it is correct. I do not understand most of the things you have written (abstract and technical). Only thing i understand that you think that r€cordsize has nearly no impact on reads. Why i think this is not true? Because if there is 1GB file and the r€cordisze is set to 4K then the drive would have to do so many transactions per second to read the file and on HDDs the tps is scarce. Explain why i am wrong. On another hand, if i set RS to 1M and there is 1K files that needs to be read, then i would guess it would cause big problems utilizing HDDs bandwidth internal as it needs to read whole 1M "block" just to get small file?)? more about this there when you search "What if i"
Arnold, i do not think it is correct. I do not understand most of the things you have written (abstract and technical). Only thing i understand that you think that recordsize has nearly no impact on reads. Why i think this is not true? Because if there is 1GB file and the recordisze is set to 4K then the drive would have to do so many transactions per second to read the file and on HDDs the tps is scarce. Explain why i am wrong. On another hand, if i set RS to 1M and there is 1K files that needs to be read, then i would guess it would cause big problems utilizing HDDs bandwidth internal as it needs to read whole 1M "block" just to get small file?)? more about this there when you search "What if i"
If you don't understand what you were told, why would you think it's incorrect??? And why ask if you think you already know the answer?? If you don't understand the technical papers and explanation, how can anyone explain things?
Again: find out for yourself. Since you are STILL not providing any details that would let anyone even guess at a suggestion. And since you can easily adjust these parameters and run tests on your own system, for your own environment and get the best results for you, why aren't you?
Members should consider placing the other member on their ignore list via LQ UserCP when this type of condition exists. Since both are not helping within the thread(s) by this type of posting between each other. To continually report each other helps no one. This type of communication between each other is not allowed here at LQ because each of you agreed to abide by the LQ Rules
Quote:
Personal attacks on others will not be tolerated.
Do not post if you do not have anything constructive to say in the post.
When posting in an existing thread, ensure that what you're posting is on-topic and relevant to the thread. If the content of your post will interfere with the current discussion, you should start a new thread.
Challenge others' points of view and opinions, but do so respectfully and thoughtfully ... without insult and personal attack. Differing opinions is one of the things that make this site great.
Since no one knows the answer so far, i have left default value 128k. I have read that the ZF$ should automatically put smaller files in smaller blocks than that. So hopefully i set it right, i am guessing no one knows how to discover if it is right from zf$ stats so i will be hoping.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.