In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly introduces "what is the default value of gluster repeater". In daily operation, I believe many people have doubts about what the default value of gluster repeater is. The editor consulted all kinds of data and sorted out simple and easy-to-use methods of operation. I hope it will be helpful for you to answer the doubt of "what is the default value of gluster repeater?" Next, please follow the editor to study!
Performance-related repeaters write-behind, read-ahead, io-cache, quick-read, open-behind, stat-prefetch (md-cache), io-threads (default server)
All the above repeaters are turned on by default, while symlink-cache is turned off by default.
NFS related performance optimization repeater
Enabled by default:
Performance.nfs.write-behind
Off by default:
Performance.nfs.read-ahead
Performance.nfs.io-cache
Performance.nfs.quick-read
Performance.nfs.stat-prefetch
Performance.nfs.io-threads
Performance.force-readdirp
Default configuration and default value 1, default configuration relay
In the. / vols/tank/tank-fuse.vol (client) file, the following repeaters are configured by default:
Dht and performance-related write-behind, read-ahead, io-cache, quick-read, open-behind, stat-prefetch (md-cache).
In the. / vols/tank/tank.node1.data-disk3.vol peer (server-side) file, the following repeater parameters are set by default:
Posix 、 access-control 、 locks 、 io-threads 、 index 、 maker
2. Default configuration item value
Cache-size
Io-cahce:cache-size: default 32MB
Size of the read cache
Quick-read:cache-size: default 128MB
Size of the read cache
Gluster volume set tank cache-size 32MB
The cache-size update caused by this command consists of two parts, one is the corresponding cache size in io-cache, and the other is the cache size in quick-read.
From the source code point of view, the two cache-size correspond to the same key, so there will be a complete change phenomenon, should be a bug.
Read-ahead:page-count: default value 4
Key is performance.read-ahead-page-count and can be set with this option.
Gluster volume set tank read-ahead-page-count 4
Number of pages that will be pre-fetched
Write-behind: "cache-size" or "window-size": default value 1MB
Key is performance.write-behind-window-size and can be set with this option.
Gluster volume set tank write-behind-window-size 1MB
Size of the write-behind buffer for a single file (inode).
Io-threads:thread-count: default 16
Key:performance.io-thread-count
Gluster volume set tank io-thread-count 16
Number of threads in IO threads translator which perform concurrent IO operations at a given time
The configuration is saved in the / vols/tank/tank.node1.data-disk3.vol peer file.
Md-cache:md-cache-timeout: default value 1 (also stat-prefetch)
Gluster volume set tank md-cache-timeout 1
This action changes the default value of the md-cache repeater md-cache-timeout option
Time period after which cache has to be refreshed
Io-cache:cache-timeout: default value 1
Key:performance.cache-refresh-timeout
Gluster volume set tank cache-refresh-timeout 1
Cache-timeout:The cached data for a file will be retained till 'cache-refresh-timeout' seconds, after which data re-validation is performed.
Note: the default parameters are based on GlusterFS 3.4.5
At this point, the study on "what is the default value of gluster repeater" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.