Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问Polarfs如何配置才能支持16KB原子写? #19

Open
trikker opened this issue Jan 17, 2023 · 1 comment
Open

请问Polarfs如何配置才能支持16KB原子写? #19

trikker opened this issue Jan 17, 2023 · 1 comment

Comments

@trikker
Copy link

trikker commented Jan 17, 2023

我们想在阿里云ESSD上面运行polarfs,然后在polarfs上面运行MySQL,想关闭double write,请问如何配置polarfs和阿里云ESSD才能让polarfs支持16KB的原子写呢?

@trikker trikker changed the title 请问polarfs如何配置才能支持16KB原子写? 请问Polarfs如何配置才能支持16KB原子写? Jan 17, 2023
@koperjian
Copy link
Contributor

polarfs是支持16K原子写的,essd应该也是默认支持16K原子写的(是否所有版本都支持建议您问一下essd的客服),所以polarfs和essd你都不需要配置,但是这块云盘在你虚拟机的操作系统里的内核的几个参数可能需要修改。包括max_sectors_kb,max_hw_sectors_kb,max_segments,max_segment_size,具体如何修改可以google一下。取决于你的OS版本,原理是保证16K的IO在下发过程中经过内核不会被拆分;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants