This content has been marked as final. Show 6 replies
Sorry for starting asking questions instead of providing answers, but the informations provided here are not complete...
- Which is your physical HW platform? are you using any virtualization?
- How busy is the CPU, I/O subsystem and RAM?
- Which version are you using?
- How did you sized your import cache?
- How many indexes are there?
- Do you have any special setting for the allids threshold?
- How big is the average entry size?
- Do entries contain a lot of replication metadata?
1 . My HW platform , dell 2950 4G memory , Intel(R) Xeon(R) CPU 5120 @ 1.86GHz *4
2 . When importing , CPU is about 40%
1 . I use ODSEE 126.96.36.199
2 . I use default value for all cache . I guess import cache is 64M
3 . I didn't create any index when importing
4 . I didn't have any special setting for the allids threshold
5 . Entries do not have any replication metadata
Thanks for reply
Well, leaving just the 'default' values may lead to performance issues and bottlenecks since the tuning of a platform for optimal performances is specifically tied to that environment... but anyway, it's a starting point.
You said you're running 188.8.131.52, which is good enough, but actually 184.108.40.206 is out already, so if this it's an initial deployment and you're not bound to a specific version go for the latest release...
Regarding your performance issue, you may have some benefit increasing the import cache up to 2 GB and perform an off-line initialization; relevant official product documentation can be found at:
I don't know what else is running on the system, but with only 4GB of RAM, you may hit some memory limitation... it's crucial that your system doesn't start swapping since this paging activity will almost certainly kill your server.
Last but not least, I forgot to ask you which is the O.S.? 32 or 64-bits? did you manage to measure somehow the I/O 'performances' ?
Yes, dsadm import performs the off-line initialization using the import cache (and it is performed on a 'local' off-line instance), whereas you can use the dsconf import command on an already running Directory Server instance (local or remote); again the relevant official product documentation is:
I set import cache for 2G , and test import again . The effect seems not very obviously . It takes 4.5 hours.
The import process split for 2 pass .
pass 1 speed is OK , but it also become slow
## Processed 10563879 entries -- average rate 3008.8/sec, recent rate 1570.0/sec, hit ratio 100% -- written to database.
pass 2 speed is too slow
## Decided to end this pass because the progress rate has dropped below the 60% threshold for too long.
## Ending pass number 1 ...
## Foreman is done; waiting for workers to finish...
## Processed 10772794 entries -- average rate 2886.6/sec, recent rate 146.9/sec, hit ratio 97% -- written to database.
## Workers finished; cleaning up...
## Workers cleaned up.
## Sweeping files for merging later...
## Sweep done.
## Beginning pass number 2
## Processed 10776101 entries (pass 2) -- average rate 165.3/sec, recent rate 165.3/sec, hit ratio 0% -- written to database.
## Processed 10778791 entries (pass 2) -- average rate 149.9/sec, recent rate 149.9/sec, hit ratio 97% -- written to database.
## Processed 10781874 entries (pass 2) -- average rate 151.3/sec, recent rate 144.3/sec, hit ratio 97% -- written to database.
Except import cache , is there any other ideas to increase the import speed