Today barring deep south, Ramayana is more popular
But MB is a more important text
Includes tracts like Bhagavad Gita, Shanti Parva
Quasi-historical recollection of Middle Vedic period
Al Biruni in 11th cen discusses MB/vAsudeva a lot
Barely mentions Ramayana
So it is a surprise he is primarily focused on the Bharata epic and its protagonist vAsudeva, and not Ramayana
When did Ramayana shoot up in popularity relative to Mahabharata in North India?
Or did it happen a couple of centuries later when Tulsidas published his famous Ramayana rendering in Avadhi?
Ramayana's rendering in Avadhi likely caused it to move past Mahabharata in the popular North Indian consciousness