Comments (5)
Ping. Any response?
from pkg-zfs.
sync-always
will just add latency, whats the need for it? I feel it will only add to the problems when we are in a state where we need to swap
from pkg-zfs.
My guess: I assume the reasoning here is that if we are under a condition of extreme memory pressure (e.g. swapping is required) then it doesn't make sense to use more memory to buffer these writes which would compound the problem
from pkg-zfs.
sync=always
means that the data first i written to the ZIL and then after that to the final media. Its in memory also when the write to the ZIL is done. Its not free'd from the memory until both the zil write and the write to final storage is fully ready. I.e. sync always in this case only ads to the time before we can free the memory
from pkg-zfs.
Actually I've also just stumpled over that. I've wanted to checkout what are recommended settings for swap devices, and noticed, that everybody recommends sync=always (but their commands look al the same, so I guess they've all copied from the same place). Could anybody with more insight tell if there is any reason why sync=always should be used than sync=disabled (Which seems to be the logical choice for me)
from pkg-zfs.
Related Issues (20)
- ubuntu trusty 14.04 on zfs-stable ppa does not have v0.6.5.8 HOT 18
- PPA packages for xenial / yakkety HOT 2
- Ubuntu 17.04, initramfs zfs script does not honor datasets with canmount property set to none HOT 6
- Ubuntu 14.04 ubuntu-zfs Depends: zfs-dkms but it is not installable HOT 3
- 0.6.5.11 hasn't been built for Ubuntu stable ppa HOT 1
- zfs-mount.service Working Directory Issue
- ZFS daily/stable PPA for Ubuntu 16.04 xenial possible? HOT 4
- CentsOS 7 not booting after 'yum update' - zfs kernel module missing (using zfs-kmod)
- Root on Ubuntu 18.04 "recordsize" too large?
- Problem EL7 (CentOS RHEL) to a Native ZFS Root Filesystem HOT 4
- Repository ubuntu server 18.04 no release file found
- EL7 (CentOS 7.6) After Native ZFS Installation, Second Array causes grub to fail: No Device found HOT 2
- Can the root be on a RAID-Z1?
- Missing command detecting ZFS-ID
- Error during upgrade to 0.8.1-1ubuntu14.2 HOT 1
- ZFS on Ubuntu16 (booting from non-zfs volume) does not mount /var from ZFS-Dataset HOT 1
- ZFS_INITRD_ADDITIONAL_DATASETS does not work
- Importing multiple encrypted pools at boot HOT 3
- compatibility with `openrc` (Devuan) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pkg-zfs.