loading pages taking 3 or 4 second in moodle what can be the causes?
Which version of Moodle?
Which version of PHP?
What database and version?
How did you install Moodle?
What have you done to monitor the performance on your system?
Please - some basic information!! Help us to help
I don't know anything about Solaris, I don't think anybody uses it much.
If this is anything more than a test system then you should not use xampp. Xampp is not intended for production systems.
You need to set up some monitoring (even just watching 'top') to get some sort of clue about what is going on. Being Solaris, you're kind of on your own I suspect.