Last modified: 2014-10-27 05:20:29 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T48098, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 46098 - Disable miser mode ($wgMiserMode) on small wikis (wikis in small.dblist)
Disable miser mode ($wgMiserMode) on small wikis (wikis in small.dblist)
Status: NEW
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
unspecified
All All
: Low enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
https://www.mediawiki.org/wiki/Manual...
: performance, shell
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-14 04:45 UTC by MZMcBride
Modified: 2014-10-27 05:20 UTC (History)
14 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description MZMcBride 2013-03-14 04:45:56 UTC
From <https://noc.wikimedia.org/conf/InitialiseSettings.php.txt>:

---
'wgMiserMode' => array(
	'default' => true, // Slaves aren't fast enough to generate all special pages all the time.
),
---

Following the resolution of bug 39667 and bug 43668, I think we should investigate disabling miser mode on small wikis (wikis listed here: <https://noc.wikimedia.org/conf/small.dblist>).
Comment 1 Nemo 2013-03-14 05:44:00 UTC
Realistically, this is probably not ready for shell keyword: $wgMiserMode does too many things, and [the absence of] all of them would be concentrated on a single database (s3) for all ~540 such wikis.
Comment 2 John F. Lewis 2014-09-27 13:11:44 UTC
CCing Sean for a comment on the database load and viability of this.
Comment 3 Sean Pringle 2014-10-25 15:01:47 UTC
With Nemo on this. It would have an unknown impact on S3, and switching back to doing everything dynamically is a recipe for surprises.

We probably need to apply finer grained controls than wgMiserMode, or disable it based on a /much/ shorter list that small.dblist, or increase the frequency of cache refreshes. I favour the last option.
Comment 4 Sam Reed (reedy) 2014-10-25 15:19:27 UTC
I guess the step up is to go from doing it once a month like we do currently to twice a month?

https://github.com/wikimedia/operations-puppet/blob/production/manifests/misc/maintenance.pp
Comment 5 John F. Lewis 2014-10-25 15:21:28 UTC
Seems like a fair increase.
Comment 6 MZMcBride 2014-10-25 18:05:40 UTC
(In reply to Sean Pringle from comment #3)
> With Nemo on this. It would have an unknown impact on S3, and switching back
> to doing everything dynamically is a recipe for surprises.

"Everything" is a bit broad. :-)  I looked through mediawiki/core.git and $wgMiserMode is used primarily with a few API modules and Special pages. Most Wikimedia wikis are pretty small, so I'm not sure I understand the real concern here. (And, broadly, $wgMiserMode is actually used a lot less than I would've thought.)

Part of the point of creating <https://noc.wikimedia.org/conf/small.dblist> was to be able to disable $wgMiserMode on a subset of Wikimedia wikis rather than punishing every wiki with $wgMiserMode = true; due to the unusual size of a few wikis. That is, just because the English Wikipedia is very large doesn't mean that the Farsi Wikibooks needs to be constricted and constrained. That's not fair.

If these miser mode-protected features within MediaWiki are truly incapable of working well even on small wikis, then they clearly need to be fixed.
Comment 7 Nemo 2014-10-25 18:49:46 UTC
Thanks Sean for updating this report.

(In reply to Sam Reed (reedy) from comment #4)
> I guess the step up is to go from doing it once a month like we do currently
> to twice a month?

Yes! We also have other bugs about incremental increases for bigger wikis, we just need to avoid forgetting to regularly do it. Who makes some patches? :)

(In reply to MZMcBride from comment #6)
> Part of the point of creating <https://noc.wikimedia.org/conf/small.dblist>
> was to be able to disable $wgMiserMode on a subset of Wikimedia wikis

Sure, but there's no need to do them all at once. We could do 100 wikis at a time (a bit boring), or find other interesting groups, e.g. all small wikiquotes and then all small wikibooks and so on: does this work in the current configuration system?
Comment 8 Sean Pringle 2014-10-27 05:20:29 UTC
Not a fix for the $wgMiserMode request, but related: https://gerrit.wikimedia.org/r/#/c/168933/

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links