Talk:HHVM


 * See also: Talk:HHVM/About for the Beta Feature feedback page.

555......
"502 Bad Gateway" while I enabled it on. --Liuxinyu970226 (talk) 05:14, 26 March 2014 (UTC)
 * Yep. It sometimes does that. Please read https://translatewiki.net/wiki/Thread:Support/HHVM so you know how to escape it in the future. --Nikerabbit (talk) 07:21, 26 March 2014 (UTC)

Laymen
If you'd like more people to try the beta, putting this page in laymen's terms would help. What are "performance improvements"? Does it mean that I'm going to load pages faster? Save them faster? Ed [talk] [en:majestic titan] 17:44, 20 September 2014 (UTC)
 * Have you really read the page? :) For your question especially the section What will HipHop do for our end users? --Florianschmidtwelzow (talk) 18:00, 20 September 2014 (UTC)
 * Sorry for the confusion, but I'm talking about the lead, which is what most people will read before giving up! Ed [talk] [en:majestic titan] 03:03, 21 September 2014 (UTC)

Not enabled
The instructions say, "You can verify the feature was enabled properly by visiting Special:Version on your wiki, and checking that it says "HHVM"." I can't find "HHVM" on the page, even via a search. I'm on enwiki. 67.166.124.229 19:49, 22 September 2014 (UTC)
 * It's in the box at en:Special:Version. :) Quiddity (WMF) (talk) 01:12, 23 September 2014 (UTC)
 * … if you enabled it in the preferences. --Tim&#160;Landscheidt 01:22, 23 September 2014 (UTC)
 * I did enable it, but was nowhere to be found on Special:Version.  I searched the page for "HH".  My edits had no Tags: HHVM.  Ten minutes ago, it finally popped up on my edits.  User:Bgwhite 08:28, 23 September 2014 (UTC)
 * Ah! Whoops. Thanks. Quiddity (WMF) (talk) 18:49, 24 September 2014 (UTC)

HHVM enabled
I see that I took a look at my contributions on Wikipedia says that the tag like this "(Tags: HHVM)" has enabled for recent edits. -- Allen talk 02:38, 23 September 2014 (UTC)

No caching for logged in users
If, as is suggested, "By definition, users that are logged in cannot be served pages from a static cache, as the page served to them must include user-specific HTML such as their username at the top right of the page. This, unfortunately, creates a situation where simply logging in causes a tangible decrease in how well our sites perform for you", then why does the page Israel load to view in less than second whether I'm logged in or not, yet take about 13 seconds to preview an edit or save a change? Are you sure nothing's cached for logged in users? --RexxS (talk) 21:20, 23 September 2014 (UTC)
 * There is some caching (namely the parser cache which you're describing here), it's just not cached at the HTTP layer in Varnish. ^demon[omg plz] 00:39, 1 October 2014 (UTC)

What really is this?
And why have these HHVM tags been appearing on several users' edits on Wikipedia and Wikimedia Commons? Are they somehow using this to edit? This page isn't clear enough to end my confusion. Dustin V. S. (talk) 02:59, 25 September 2014 (UTC)
 * Ah, I see that it appears as an option when I go to Special:Preferences. Dustin V. S. (talk) 03:03, 25 September 2014 (UTC)

link
When i click to link on Special:Preferences, I got this page. And there is written my issue. JAn Dudík (talk) 05:29, 26 September 2014 (UTC)
 * I put a redirect there to this page. There was no content before that, just a redlink. Now the redirect is broken as well.  09:34, 27 September 2014 (UTC)
 * No, I'm pretty sure there were discussions on that board. Pinging User:Quiddity (WMF) to see if he can fix this. Best, --Elitre (WMF) (talk) 09:37, 27 September 2014 (UTC)
 * History does not show any. Deleted the page, but still locked in fatal exception. Please restore the redirect.  13:48, 27 September 2014 (UTC)
 * I've emailed the dev team, to see if anyone can fix this over the weekend. Sorry for the trouble. :( Quiddity (WMF) (talk) 18:00, 27 September 2014 (UTC)
 * Is this means, until bug fixed, we shouldn't use Flow Extension to discuss this? --Liuxinyu970226 (talk) 05:08, 28 September 2014 (UTC)
 * The page is accessible again now. Quiddity (WMF) (talk) 17:12, 28 September 2014 (UTC)

403
When I have HHVM enabled on enwiki, I can no longer pull local static images like this from the server; I am getting intermittent 403 errors. 09:35, 27 September 2014 (UTC)
 * Should be resolved now. Quiddity (WMF) (talk) 01:35, 2 October 2014 (UTC)

Bad link:
Clicking on preferences, then beta features on Wikipedia and then the discussion part on HHVM takes you to this page:

Talk:HHVM/About

Which gives this error:

"[974ca5ba] 2014-09-27 13:35:25: Fatal exception of type MWException"

--Harizotoh9 (talk) 13:36, 27 September 2014 (UTC)


 * See above.   13:53, 27 September 2014 (UTC)

Big Pages and Lua Timeout

 * Big Pages don't work with HHVM (de:User_talk:Merlissimo as a example)
 * In some a timeout-error is thrown (e.g. Beta test for template webcite). We have some real world pages (e.g. Fukoshima-stuff) where this timeout-problem could appear in production with rising usage of Lua moduls.
 * Performance with HHVM is better then old php stake. Thanks a lot! --Boshomi (talk) 20:12, 28 September 2014 (UTC)
 * I can confirm the first point. A "503 Service Temporarily Unavailable" error occurs when trying to edit an existing passage at the given usertalkpage. Trying to add a new passage, no error appears. --Ali1610 (talk)

List of pages with http status code 503 in german wikipdia:

 * ns / page title / page-length 2014-09-18
 * 2 Doc_Taxon/who1 3179409
 * 3 Hubertl/Archiv 2047262
 * 2 Doc_Taxon/Doctor_Who/vh2 2000639
 * 3 TUBS/Archiv 1909020
 * 5 WikiProjekt_Österreichische_Denkmallisten/Archiv 1801304
 * 2 Armin_P._/_ältere_Beiträge 1620265
 * 3 Kriddl/Archiv 1595476
 * 3 CherryX/Archiv 1587846
 * 2 Sebbot/Log/2013-10-21/07:00 1573086
 * 3 Dorado/Archiv 1551258
 * 3 Schmelzle/Archiv 1463051
 * 4 Relevanzcheck/Archiv/2012 1408176
 * 2 B3t/Interwikis 1358623
 * 2 Stefan64/Archiv 1347561
 * 3 Polarlys/Archiv6 1243238
 * 3 Freimut_Bahlo/Archiv 1206084
 * 3 Hephaion/Archiv/2013 1202453
 * 4 Vandalismusmeldung/Archiv/2006/10 1190127
 * 3 Nicola/Archiv/2011 1112779
 * 3 Merlissimo/Archiv/2011 1061895
 * 4 Vandalismusmeldung/Archiv/2006/09 1017207
 * 4 Auskunft/Archiv/2007/Dez 1012768
 * 5 Hauptseite/Artikel_des_Tages/Archiv/Vorschläge/2011/1 1009062
 * 3 Umweltschützen/Archiv 1000518
 * 3 Merlissimo 991284
 * 4 Vandalismusmeldung/Archiv/2006/07 975081
 * 3 Umweltschützen/Archiv_2 899335
 * 101 Auto_und_Motorrad/Archiv/2013 887866
 * 3 Usquam/Archiv 875821
 * 4 Vandalismusmeldung/Archiv/2006/08 869716
 * 3 KV_28/Archiv_1 866489
 * 3 Hannibal21/Archiv 828270
 * 3 Nicola/Archiv/Archiv2013 807241
 * 2 Fox122/Fehlende_Artikel 793347
 * 3 Hephaion/Archiv/2012 792193
 * 3 XenonX3/Archiv/2009 775658
 * 2 RevoBot/Log/2007-12-29T06:00:00 764430
 * 2 Krdbot/Klammerrotlinks 722107
 * 4 Vandalismusmeldung/Archiv/2006/06 712778
 * 3 Enomine/Ausrufer 703680
 * 2 Flominator/Bilderwunsch/Listeneintrag 703621
 * 2 Antonsusi/A-Liste 698589
 * 4 Sperrprüfung/Archiv/2011/Juli 698170
 * 3 Eingangskontrolle/Archiv2010 690773
 * 3 Tilla 679823
 * 2 Ne_discere_cessa!/Ausrufer 676629
 * 2 Akkakk/Unicode3 647266
 * 4 Wartungsbausteinwettbewerb/Herbst_2010/Auswertung 645066
 * 4 Redaktion_Physik/Kategorienpflege 644928
 * 4 Löschkandidaten/Archiv:Datei-Logbuch/20040506 639876
 * 2 Flominator/ÜA 636296
 * 2 Krdbot/ANR-Meta-Links 633950
 * 2 Krdbot/Chemredirs 630035
 * 2 Dsds55/Russland2/Disk 554652
 * 4 Umfragen/Superschutz 523971
 * 2 Entbert/Werkstatt 523509
 * 0 Liste_von_Pkw-Marken 520035
 * 4 Löschkandidaten/Archiv:Lösch-Logbuch/20040802 517838
 * 4 Redaktion_Biologie/Artikelbewertung/Statistik/Lebewesen_–_systematische_Übersicht 513870
 * 0 Liste_der_RISM-Bibliothekssigel 503190
 * 0 Liste_der_Kulturdenkmäler_in_Bremen-Mitte 480287
 * 0 Liste_der_olympischen_Medaillengewinner_aus_den_Vereinigten_Staaten 479622
 * 4 WikiProjekt_Eishockey/Archiv_Artikelliste 474099
 * 2 MiBot/Vorlage_Bahnlinie 413619
 * 2 Kaisehr74/In_Arbeit_8 410605
 * 4 WikiProjekt_Bremen/WLM2011/Liste_Bremen/Mitte 403491
 * 4 Soundtrack_der_Wikipedianer 392282
 * 4 Bücher/Badminton 381626
 * 2 Etmot/Rangliste_des_deutschen_Fußballs/Chronik 376953
 * 0 Liste_der_Länderspiele_der_deutschen_Fußballnationalmannschaft 375085
 * 2 Dsds55/Russland2 354030
 * 2 Merlissimo/Spielwiese8 343468
 * 0 Liste_der_Stolpersteine_in_Berlin-Charlottenburg 341948
 * 4 Redaktion_Biologie/Artikelbewertung/Statistik/Vielzellige_Tiere 323498
 * 2 SteEis./Medaillenspiegel_bei_Weltmeisterschaften 312789
 * 2 Atamari/Listeneintrag_fehlt 309078
 * 0 Liste_der_Länderspiele_der_sowjetischen_Eishockeynationalmannschaft_1980_bis_1989 306934
 * 2 Dsds55/Russland1 301940
 * 2 Sokkok/Liste_der_Kirchen_des_Bundes_Evangelisch-Freikirchlicher_Gemeinden 288433

The length of a page is not the only reason. I think there are some html-Elements that cause the errors. Boshomi (talk) 21:29, 30 September 2014 (UTC)
 * I filed . HTH, --Elitre (WMF) (talk) 12:52, 1 October 2014 (UTC)
 * Thanks for the detailed report. Resolving this is my top priority. --Ori.livneh (talk) 13:14, 1 October 2014 (UTC)

This is awesome
Just so that the team who worked on adding HHVM support on the servers know: this is freaking awesome. Turning on HHVM seems to be making editing Wikimedia sites snappier and more responsive. Ajax requests fired off by JavaScript widgets seem to complete quicker. I was doing a bunch of maintenance tasks on Wikipedia earlier while on a train on a rather dodgy 3G connection and it was a lot less painful than when I last did the same pre-HHVM.

Give yourselves all a pat on the back: every speeed up to editing Wikimedia projects makes it so that heavy users who do lots of routine maintenance tasks can do so a lot quicker, which means they are more likely to do so. —Tom Morris (talk) 15:38, 30 September 2014 (UTC)
 * +1 --Nemo 16:11, 30 September 2014 (UTC)
 * Thanks! :) --Ori.livneh (talk) 13:14, 1 October 2014 (UTC)
 * Thanks a lot! --Giuseppe


 * +1 from me as well. Ironholds (talk) 23:21, 3 October 2014 (UTC)
 * +200 Ed [talk] [en:majestic titan] 00:51, 11 October 2014 (UTC)
 * Lovely work, you guys. Keep being awesome! Thanks, —zziccardi (talk) 01:07, 11 October 2014 (UTC)
 * Since I've turned this on, browsing and editing has been much snappier and more responsive. When I'm digging through several pages, it's frustrating to wait several seconds for each to load. Now it's down to a small fraction of a second. Great work! Seraphimblade (talk) 07:04, 11 October 2014 (UTC)
 * A +1 from me too. With HHVM, the difference in responsiveness is instantly noticeable. Great work! — Mr. Stradivarius  ♪ talk ♪ 09:31, 11 October 2014 (UTC)
 * Love this: HHVM is the greatest thing since sliced bread :D --Elitre (talk) 12:03, 12 October 2014 (UTC)
 * The gain is noticeable. Before using HHVM, I kept asking myself why my browser was so slow. Not anymore, and I can use all my favorite browser extensions. Cantons-de-l&#39;Est (talk) 02:43, 13 October 2014 (UTC)
 * Very nice speed improvement, great work. Not as glamorous as other current projects (cough), but obviously very efficient and useful for all. GermanJoe (talk) 13:34, 13 October 2014 (UTC)
 * Thank you! Lasersharp (talk) 03:26, 17 October 2014 (UTC)

Talk:HHVM/About is dead
I get this error: [bbd3ca74] 2014-10-10 17:21:40: Fatal exception of type MWException --Boshomi (talk) 17:24, 10 October 2014 (UTC)
 * I forwarded your message to the Flow team and they fixed the issue with the page. It should work now. Thanks for the report! --Dan Garry, Wikimedia Foundation (talk) 18:12, 10 October 2014 (UTC)

HHVM-PHP-ABCDEF.....
HHVM, sometimes known as HipHop Virtual Machine, is a virtual machine for PHP,... I can imagine what a just-in-time compiler is. But what the hell is PHP, please? --UvM (talk) 08:55, 12 October 2014 (UTC)
 * PHP is just the building material of MediaWiki. Any better now? --Nemo 09:23, 12 October 2014 (UTC)
 * Much better, thanks, as there is a link now explaining PHP. --UvM (talk) 09:26, 12 October 2014 (UTC)

Request for explanation of what this is
People are using some tool or function which adds "(Tag: HHVM)" to edit summaries on Wikipedia. That tag gives a link to this page. This page is incomprehensible and does not say what that tag on those edit histories has to do with this project. The link to this page is being advertised to practically every Wikipedian who uses a watchlist, and a great many who check edit histories.

Is there anyone here who could explain why this tag is appearing and why it needs to link to this page? Could an explanation be put at the top of this page? In my opinion, this is not a page which needs to receive traffic from the general Wikimedia community, and it seems strange that its advertisement is receiving such desirable promotion.  Blue Rasberry   (talk)   16:23, 17 October 2014 (UTC)


 * After I hoped the first line would be clear-ish now. Isn't it? If not, how could it be made clearer?
 * As for the tag, my understanding is that it's meant to be temporary. Similar to VisualEditor, the usage of HHVM by the user is reported next to the edit because it could produce broken edits which are not the user's fault. The fact you didn't realise that probably means HHVM is working better than expected hence the tag will become unnecessary soon. --Nemo 16:46, 17 October 2014 (UTC)
 * An attempt should be made to explain what this project has to do with Wikipedia. Under what circumstances are these tags currently being displayed? Under what circumstances will these tags cease to be displayed? On what basis does a user choose to use HHVM? What are the advantages and disadvantages of using HHVM? Where is the discussion that decided that HHVM tags would be put in Wikipedia edit summaries?  Blue Rasberry    (talk)   12:01, 19 October 2014 (UTC)
 * AFAICS, all your questions were answered above. As for the discussion, none, other than code review, because such tagging is standard practice, as said above. --Nemo 12:27, 19 October 2014 (UTC)
 * Can you say anything about this page? I do not understand what this page is or why there is so much interest in sending people here.  Blue Rasberry    (talk)   21:27, 20 October 2014 (UTC)
 * Re: "On what basis does a user choose to use HHVM?" - it's currently a Beta Feature. Also, a growing percentage of logged out page views are coming from servers that run the HHVM tool (see Tech/News/Latest for links and percentages, over the last 3 weeks). I believe the tags are attached for all edits that a user makes if they have the Beta Feature enabled. I believe the tags will go away as soon as the code is considered stable enough to be enabled for all users (graduate from Beta Features). The tags are definitely intended to keep track of edits made via the HHVM servers, as a just-in-case measure to enable easy diagnosis and tracking of bugs. I'll ping for confirmation of all that, and if correct I'll add it to the FAQ at HHVM/About. HTH.
 * p.s. I've suggested before that the tag should link to the shorter HHVM/About page, and I'll poke some people to see if we can get that changed soon. Quiddity (WMF) (talk) 01:41, 21 October 2014 (UTC)
 * I am not sure that linking to the "about" page is an improvement over the current practice. I am completely ignorant of what this is about, and hearing that this is a beta feature is not helpful to me because I do not know what is being tested or why it is being tested. I support testing but as best I can tell, nothing here explains what HHVM does or why anyone should care. Am I missing something that is already explained?  Blue Rasberry    (talk)   19:29, 24 October 2014 (UTC)
 * Basically, HHVM should make pages load faster. Specific details are at HHVM - I'll copy a simple version of that to the /About page FAQ, for translation and easier visibility. Is there anything else we should do to make it clearer? Thanks :) Quiddity (WMF) (talk) 20:10, 24 October 2014 (UTC)
 * No worries, I just repeated everything you said in my own words so now everything is clear. I could not understand that "what will it do section" as it was no clearer than anything else. Thanks for explaining this, problem resolved.  Blue Rasberry    (talk)   14:52, 27 October 2014 (UTC)

I'm here tonight because two seemingly unrelated edits contained "HHVM" as the edit reason. When people do not put in an edit reason (VERY common, and I'm guilty as well), just "HHVM" makes one wonder what obscure Wiki rule has been invoked. I would suggest changing the comment to something like "Edited by HHVM". Thank you. Cpfan776 (talk) 03:00, 22 October 2014 (UTC)
 * That would make the Tag quite a bit longer. I think the current short version is an attempt to be as brief as possible. We could lengthen it to something such as your suggestion, but I suspect that would result in a large number of complaints. Fwiw, the tag on mediawiki edits does now link to the simpler/clearer (hopefully) "/About" page, and that change will rollout to Wikipedias next Wednesday afternoon. Quiddity (WMF) (talk) 20:06, 24 October 2014 (UTC)

Translation missing
I am coming here from german-language Wikipedia to try to find an explanation what HHVM is etc. I can read english, but I think that not everybody else does. I suggest adding translations and changing the link to that version instead. 78.35.204.56 06:08, 24 October 2014 (UTC)
 * I've requested that the Tag link to the HHVM/About page (which is already translated in a few languages) instead of this more technical one. That update will appear in the wikipedias on Wednesday, per the (updated) standard Deployments schedule. Hope that helps. Quiddity (WMF) (talk) 22:13, 24 October 2014 (UTC)

New user not able to disable HHVM
Hi, I didn't find any mention here or HHVM/About or elsewhere that some of the newly registered users are getting HHVM enabled by default and that they´ can't even disable the feature in their preferences. --Stryn (talk) 18:14, 27 October 2014 (UTC)

Own installation
Has anybody tried this at home? (Is there a installation help page related to mediawiki somewehere?) Christian75 (talk) 08:59, 31 October 2014 (UTC)
 * Yes, translatewiki.net (first wiki where this was tried as beta). Configuration is in puppet, see link. --Nemo 09:43, 9 November 2014 (UTC)
 * I was trying to follow the instructions at https://github.com/facebook/hhvm/wiki/Prebuilt%20Packages%20for%20HHVM... However, that did not help much. A short guide (or extract from history would be nice) --Physikerwelt (talk) 17:58, 19 March 2015 (UTC)

Mobile site?
I access Wikipedia and other MediaWiki sites a lot from my smartphone (Samsung model SCH-I535, Android v4.4.2, Verizon), and I'd be very happy to speed it up. Does HHVM work on the mobile site? Thnidu (talk) 15:15, 3 November 2014 (UTC)

HHVM and LuaSandbox
How do you enable luasandbox for HHVM? It's not documented and the obvious solution doesn't work, so I'm repeating my question here.--Alex Mashin (talk) 02:56, 25 February 2015 (UTC)

Will MediaWiki continute to target HHVM as their roadmap deviates from standard PHP?
Facebook has stated that "PHP7 is charting a new course away from PHP5, and we want to do the same, via a renewed focus on Hack. Consequently, HHVM will not aim to target PHP7. The HHVM team believes that we have a clear path toward making Hack a fantastic language for web development, untethered from its PHP origins. We’d do ourselves and our users a disservice by positioning HHVM as an uncommon, less well-documented, less compatible PHP7 runtime." (http://hhvm.com/blog/2017/09/18/the-future-of-hhvm.html) What does this mean for the MediaWiki HHVM roadmap? — Preceding unsigned comment added by 130.76.186.13 (talk • contribs) 18:49, Sept 27, 2017 (UTC)
 * This was also brought up on the Wikitech-I mailing list: https://lists.wikimedia.org/pipermail/wikitech-l/2017-September/088784.html, and as a result, a phabricator task was created: T176209. There, it was decided to switch to PHP7: T176370. &mdash; Mainframe98 talk 18:51, 27 September 2017 (UTC)