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). The gene discussed is IL17A; the disease is ischemic stroke.