diff --git a/libretro/libretro_core_options.h b/libretro/libretro_core_options.h
index b8b9666..3b2cca0 100644
--- a/libretro/libretro_core_options.h
+++ b/libretro/libretro_core_options.h
@@ -767,6 +767,20 @@ struct retro_core_option_v2_definition option_defs_us[] = {
       "disabled"
 #endif
    },
+   {
+      "pcsx2_gs_runahead",
+      "Emulation > GS Run-Ahead (Restart)",
+      "GS Run-Ahead (Restart)",
+      "Lets the EE emulate the next frame while the GS still draws the current one, instead of waiting for it at every vsync. A frame then costs about the slower of the two threads instead of both added together, at one frame of extra input latency.",
+      NULL,
+      "emulation",
+      {
+         { "disabled", NULL },
+         { "enabled", NULL },
+         { NULL, NULL },
+      },
+      "disabled"
+   },
    {
       "pcsx2_instant_vu1",
       "Emulation > Instant VU1 (Restart)",
diff --git a/libretro/main.cpp b/libretro/main.cpp
index 8a726da..bd12561 100644
--- a/libretro/main.cpp
+++ b/libretro/main.cpp
@@ -1418,6 +1418,10 @@ static void check_variables(bool first_run)
 			VMManager::g_MtvuMenuDefault = mtvu_on;
 		}
 
+		var.key = "pcsx2_gs_runahead";
+		if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var) && var.value)
+			mtgs_runahead = !strcmp(var.value, "enabled");
+
 		var.key = "pcsx2_instant_vu1";
 		if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var) && var.value)
 			s_option_config.Speedhacks.vu1Instant = !strcmp(var.value, "enabled");
diff --git a/pcsx2/GS.h b/pcsx2/GS.h
index fa6d095..a077694 100644
--- a/pcsx2/GS.h
+++ b/pcsx2/GS.h
@@ -217,6 +217,8 @@ extern void (*gs_hw_context_end)(void);
 extern "C" {
 #endif
 extern bool mtgs_is_open(void);
+/* pcsx2_gs_runahead, set before the EE starts (MTGS.c). */
+extern int mtgs_runahead;
 /* Waits for the GS to empty out the entire ring buffer contents. */
 extern void mtgs_wait_gs(bool isMTVU);
 extern void mtgs_reset_gs(bool hardware_reset);
diff --git a/pcsx2/MTGS.c b/pcsx2/MTGS.c
index 3d29e17..fab78f0 100644
--- a/pcsx2/MTGS.c
+++ b/pcsx2/MTGS.c
@@ -147,6 +147,32 @@ static retro_atomic_int_t s_gate_stop    = RETRO_ATOMIC_INT_INITIALIZER(0);
 static int s_gate_taken;
 static int s_gate_owed;
 
+/* GS run-ahead (pcsx2_gs_runahead, restart-only): the EE does not wait at
+ * a vsync for the GS to finish the frame, only for the vsync before it, so
+ * it emulates frame N+1 while the frontend's thread still draws frame N.
+ * A frame then costs about the larger of the two threads' work instead of
+ * their sum (God of War on a Mali phone: the EE ~14 ms and the GS ~13 ms a
+ * frame in its heavy effects). Input is one frame later. The display
+ * registers each vsync scans out are snapshotted as the EE posts it, since
+ * by the time the GS consumes it the EE may be writing the next frame's.
+ * Anything that asks the EE to stop (s_gate_stop: a pause, a savestate, an
+ * option change) takes the original lockstep path, so it stops exactly
+ * where it always did. */
+int mtgs_runahead;
+static PCSX2_ALIGN(64) u8 s_vsync_regs[2][PS2MEM_GS_REGS];
+static retro_atomic_int_t s_vsync_posted   = RETRO_ATOMIC_INT_INITIALIZER(0);
+static retro_atomic_int_t s_vsync_consumed = RETRO_ATOMIC_INT_INITIALIZER(0);
+
+#define MTGS_RUNAHEAD_ROOM() \
+	(retro_atomic_load_acquire_int(&s_vsync_posted) - retro_atomic_load_acquire_int(&s_vsync_consumed) <= 1 \
+	 || retro_atomic_load_acquire_int(&s_gate_stop) \
+	 || !mtgs_is_open())
+
+static void mtgs_runahead_reset(void)
+{
+	retro_atomic_store_release_int(&s_vsync_consumed, retro_atomic_load_acquire_int(&s_vsync_posted));
+}
+
 #define MTGS_GATE_OPEN() \
 	(retro_atomic_load_acquire_int(&s_gate_granted) != s_gate_taken \
 	 || retro_atomic_load_acquire_int(&s_gate_stop) \
@@ -179,6 +205,23 @@ static void mtgs_gate_wait(void)
 		mtgs_vsync_drained = 1;
 }
 
+/* The EE thread, run-ahead: wait until at most one posted vsync is
+ * unconsumed (the frontend's thread notifies the gate eventcount as it
+ * consumes one), or a stop is asked for. */
+static void mtgs_runahead_wait(void)
+{
+	while (!MTGS_RUNAHEAD_ROOM())
+	{
+		const int key = retro_eventcount_prepare_wait(&s_gate_ec);
+		if (MTGS_RUNAHEAD_ROOM())
+		{
+			retro_eventcount_cancel_wait(&s_gate_ec);
+			break;
+		}
+		retro_eventcount_commit_wait(&s_gate_ec, key);
+	}
+}
+
 /* See GS.h. NULL unless the renderer in use installed them. */
 void (*gs_hw_context_begin)(void) = NULL;
 void (*gs_hw_context_end)(void)   = NULL;
@@ -222,7 +265,10 @@ void mtgs_reset_gs(bool hardware_reset)
 	/* Clear the ring and queue the reset. Discarding pending entries requires both sides quiesced: the EE is
 	 * paused across a reset, and the consumer is this very thread. */
 	if (hardware_reset && s_RingOk)
+	{
 		retro_spsc_clear(&s_Ring);
+		mtgs_runahead_reset(); /* the vsyncs cleared with it will never be consumed */
+	}
 
 	tag = RingWriteBegin();
 	if (tag)
@@ -240,7 +286,10 @@ void mtgs_reset_gs(bool hardware_reset)
 
 void mtgs_post_vsync_start(void)
 {
-	PacketTagType* tag = RingWriteBegin();
+	PacketTagType* tag;
+	if (mtgs_runahead)
+		memcpy(s_vsync_regs[retro_atomic_load_acquire_int(&s_vsync_posted) & 1], PS2MEM_GS, PS2MEM_GS_REGS);
+	tag = RingWriteBegin();
 	if (tag)
 	{
 		tag->w.command = GS_RINGTYPE_VSYNC;
@@ -252,6 +301,8 @@ void mtgs_post_vsync_start(void)
 		tag->w.data[1] = (u32)retro_atomic_exchange_int(&s_GSRegistersWritten, 0);
 		/* Where this frame's audio ends: see audio_queue.h. */
 		tag->w.data[2] = retro_audio_mark();
+		if (mtgs_runahead)
+			retro_atomic_fetch_add_int(&s_vsync_posted, 1);
 		RingWriteEnd();
 	}
 	else
@@ -278,6 +329,19 @@ void mtgs_post_vsync_start(void)
 	/* This wait is the pacing between the two threads: the EE holds here
 	 * until the libretro thread has consumed this vsync packet, which is
 	 * where the GS takes its copy of the registers. */
+	if (mtgs_runahead && tag && !retro_atomic_load_acquire_int(&s_gate_stop))
+	{
+		/* The frame behind this vsync may still be drawing: only the one
+		 * before it must be done. mtgs_vsync_drained keeps its meaning for
+		 * the lockstep path below; here nothing waits at the gate. The
+		 * vsync is announced here: the lockstep path's WaitGS is what
+		 * notified it before, and a frame with no GIF packet after its
+		 * last notify would leave it unseen in the ring. */
+		work_eventcount_notify(&s_sem_event);
+		mtgs_runahead_wait();
+		if (!retro_atomic_load_acquire_int(&s_gate_stop))
+			return;
+	}
 	mtgs_wait_gs(false);
 	/* Consumed by retro_run: the next frame waits for the next one,
 	 * and its input. */
@@ -348,6 +412,7 @@ void mtgs_try_open_gs(void)
 	retro_atomic_store_release_int(&s_gate_granted, 0);
 	s_gate_taken = 0;
 	s_gate_owed  = 0;
+	mtgs_runahead_reset();
 
 	mtgs_sync_regs();
 	GS_HW_CONTEXT_BEGIN();
@@ -492,7 +557,16 @@ bool mtgs_main_loop(bool flush_all)
 							/* The EE is held in WaitGS behind this packet, so
 							 * the registers are this frame's. The tag is not
 							 * read past here. */
-							mtgs_sync_regs();
+							if (mtgs_runahead)
+							{
+								/* This vsync's own registers: the EE may be
+								 * writing the next frame's already. */
+								memcpy(s_gs_regs, s_vsync_regs[retro_atomic_load_acquire_int(&s_vsync_consumed) & 1], sizeof(s_gs_regs));
+								retro_atomic_fetch_add_int(&s_vsync_consumed, 1);
+								mtgs_gate_notify();
+							}
+							else
+								mtgs_sync_regs();
 							if (flush_all)
 							{
 								/* A drain: kept for the next retro_run, not
