Smaller window

Hey it seems all ive been doing is lagging. could someone tell me how to run d2 in a smaller window, i heard that helps with lag a little. or could someone gimme any suggestion son how to reduce my lag. thx