Sometimes when I suspend my laptop it wakes up instantly, but other times it takes around 5 minutes to wake up - in any case way longer than a cold boot.
While the laptop is waking up I can hear the hard drive working and when my laptop finally does wake up the system load is at 100%. Strangely my memory is half empty (even if it was 3/4 full (not counting cache) when I suspend the laptop) but my swap isn't (I have 4GBs of RAM and this is the only time I see swap not being empty).
It seems to me that while waking up my laptop sometimes starts thrashing, but I have no idea what is causing it, how to prevent it or even how to debug it.
My laptop is a hp elitebook 8730w.
Here is a screenshot of the System Load Indicator when I get to my desktop. There is at least 1.8GB of RAM free but there is 1.4GB in swap, why is that so?