The results revealed that HR at T3, MAP at T3, preoperative NLRP3, IL-6, IL-17 levels, and esketamine treatment were all risk factors for cognitive dysfunction in elderly patients undergoing general anesthesia for ischemic stroke (Table 4). This evidence concerns the gene IL6 and ischemic stroke.