Re: Laundry

2020-07-26 Thread Doug Hardie
> On 26 July 2020, at 13:31, Konstantin Belousov  wrote:
> 
> On Sun, Jul 26, 2020 at 01:11:33PM -0700, Doug Hardie wrote:
>> I have a production system (12.1-RELEASE-p6) that is showing around 1 GB of 
>> Laundry pages.  There are over 6 Gb Inact and 1 Gb free.  I can understand 
>> why the system would want to not prioritize laundering those pages as there 
>> is plenty of available pages.  However, does that mean that I have about 1 
>> GB of updated files that have not been written back to disk?  If so, then 
>> there is a significant issue with power failures and loss of data.
>> 
> Laundry keeps both file-backed (named) pages and swap-backed (anonymous)
> pages. Most likely it means that you have 1G of anonymous dirty
> mappings, for instance programs data/bss and malloced.

I don't believe there are very man anonymous pages, but there are lots of named 
pages.  If those are dirty, does that mean they have not yet been written back 
to disk?  The loss of those would be quite detrimental if not written back to 
disk.

-- Doug

___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Laundry

2020-07-26 Thread Konstantin Belousov
On Sun, Jul 26, 2020 at 01:11:33PM -0700, Doug Hardie wrote:
> I have a production system (12.1-RELEASE-p6) that is showing around 1 GB of 
> Laundry pages.  There are over 6 Gb Inact and 1 Gb free.  I can understand 
> why the system would want to not prioritize laundering those pages as there 
> is plenty of available pages.  However, does that mean that I have about 1 GB 
> of updated files that have not been written back to disk?  If so, then there 
> is a significant issue with power failures and loss of data.
> 
Laundry keeps both file-backed (named) pages and swap-backed (anonymous)
pages. Most likely it means that you have 1G of anonymous dirty
mappings, for instance programs data/bss and malloced.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Laundry

2020-07-26 Thread Doug Hardie
I have a production system (12.1-RELEASE-p6) that is showing around 1 GB of 
Laundry pages.  There are over 6 Gb Inact and 1 Gb free.  I can understand why 
the system would want to not prioritize laundering those pages as there is 
plenty of available pages.  However, does that mean that I have about 1 GB of 
updated files that have not been written back to disk?  If so, then there is a 
significant issue with power failures and loss of data.

-- Doug

___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


VM laundry size is always 0

2020-05-06 Thread Igor Pokrovsky
Hello!

I’ve got strange values for vm laundry size on -STABLE.
And these values do not change even under load.

vm.domain.0.stats.laundry: 0
vm.stats.vm.v_laundry_count: 0

I cannot complete buildworld on this box, compiler throughs segmentation core 
at some random points.

I tested RAM and hard disk for errors - none found.
Has anyone seen this? Relevant boot messages follows.

---<>---
FreeBSD 12.1-STABLE r360207 GENERIC amd64
FreeBSD clang version 9.0.1 (g...@github.com:llvm/llvm-project.git 
c1a0a213378a458fbea1a5c77b315c7dce08fd05) (based on LLVM 9.0.1)
VT(vga): resolution 640x480
CPU: AMD Athlon(tm) 64 Processor 3000+ (1890.05-MHz K8-class CPU)
  Origin="AuthenticAMD"  Id=0x10ff0  Family=0xf  Model=0x1f  Stepping=0
  
Features=0x78bfbff
  AMD Features=0xe2500800
  AMD Features2=0x1
real memory  = 2147155968 (2047 MB)
avail memory = 2039795712 (1945 MB)


Thanks, 

ip





___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"