Quoting John Baldwin <j...@freebsd.org> (from Mon, 25 Jan 2010 07:57:49 -0500):

On Saturday 23 January 2010 1:42:28 pm Alan Cox wrote:
Author: alc
Date: Sat Jan 23 18:42:28 2010
New Revision: 202894
URL: http://svn.freebsd.org/changeset/base/202894

Log:
Handle a race between pmap_kextract() and pmap_promote_pde(). This race is
  known to cause a kernel crash in ZFS on i386 when superpage promotion is
  enabled.

  Tested by:    netchild
  MFC after:    1 week

Yay!  Should we enable pg_ps by default on i386 now?

Data point, the i386 system where I have superpages enabled is a p4 with currently 11 jails active. Some webservers, squid, samba, bind, postfix and a lot of portupgrades (during the last days, I'm updating a jail with a desktop-setup inside). All jails are on ZFS.

# uptime
 2:01pm  up 3 days, 21:52, 2 users, load averages: 1.34, 1.14, 1.09

It is not more because I switched to ATA_CAM after more than a day of uptime with the code of this commit.

# sysctl vm.pmap
vm.pmap.pmap_collect_active: 0
vm.pmap.pmap_collect_inactive: 0
vm.pmap.pv_entry_spare: 54584
vm.pmap.pv_entry_allocs: 504637278
vm.pmap.pv_entry_frees: 504575270
vm.pmap.pc_chunk_tryfail: 0
vm.pmap.pc_chunk_frees: 22566325
vm.pmap.pc_chunk_allocs: 22566672
vm.pmap.pc_chunk_count: 347
vm.pmap.pv_entry_count: 62008
vm.pmap.pde.promotions: 2080074
vm.pmap.pde.p_failures: 22736249
vm.pmap.pde.mappings: 0
vm.pmap.pde.demotions: 2080038
vm.pmap.shpgperproc: 200
vm.pmap.pv_entry_max: 1487136
vm.pmap.pg_ps_enabled: 1

Bye,
Alexander.

--
When eating an elephant take one bite at a time.

http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID = 72077137
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to