Packet Delivery Delay And Throughput Optimization For Vehicular Networks