- User Since
- Aug 6 2017, 12:45 AM (46 w, 12 h)
This has been resolved in current with a more complete fix.
Some great stuff in here. Let's peel off parts while we perfect the rest.
Fri, Jun 15
kqueue and select both use fget_unlocked. If you want to propose files without references for single threaded programs you are free to do so. You should raise it on arch@ as there is no real owner in this area. This patch further reduces differences between select and poll and reduces the number of atomics used in select which I would argue is the more frequently used of the pair.
Thu, Jun 14
as an aside, this is what select already does anyway. Poll was still using the big slock but select was using the lockless fd support.
Mon, Jun 11
Does this not include the malloc.h changes for M_ZERO?
Thu, May 31
Wed, May 30
Given that there is trivially little if any entropy coming from mbufs is there a reason we're leaving this callsite at all? has anyone from secteam commented?
May 24 2018
May 17 2018
May 13 2018
My feeling is that ticks is unlikely to go any faster on general purpose kernels and some technique like this is inevitable as we continue to scale link performance. Some slight extra CPU time is a good trade-off for also eliminating weird rounding conditions and scaling factors. Overall I support this work going forward.
May 11 2018
It would be nice to implement it in other filesystems that support sparse files.
Apr 30 2018
Apr 29 2018
Apr 8 2018
We should think about what other filesystems could be trivially converted to this interface.
Apr 7 2018
Apr 4 2018
Apr 3 2018
I intend to commit this next week. I will denote that it is experimental and API may change in a man page and in comments. I think we're going to need more burn-in time with applications before 12.0 settles. I have a commitment from Netflix to sponsor that work.
Apr 1 2018
This version is much slower than the other version but still much faster than head. I think there is some bug though because after a while it started consuming space.
Mar 31 2018
For what it's worth, I did test this with my sparse file dd test and we well exceed the performance of linux at this benchmark now that we're using the same technique. Unfortunately it defeats a convenient way to create a lot of paging traffic.
Mar 30 2018
I addressed review feedback.
Mar 29 2018
Mar 28 2018
Mar 27 2018
Mar 26 2018
Mar 25 2018
Mar 24 2018
Mar 23 2018
Mar 22 2018
Fix review feedback. Move witness initialization into the vm startup so that we can allocate large numbers of locks prior to bringing up malloc. Use fcmpset.