Dedup on single core?

Software-based VM-centric and flash-friendly VM storage + free version

Moderators: anton (staff), art (staff), Max (staff), Anatoly (staff)

Post Reply
TstAgs
Posts: 5
Joined: Wed Apr 24, 2013 12:07 pm

Wed Apr 24, 2013 12:11 pm

Hi,

we are testing the Starwind iSCSI solution, with a virtual deduplicated device.

We've noted that on a 8 cores machines, just 1 core is used during the deduplication process.

Can someone confirm that the Dedup engine just use a single core?

We are searching for a Deduplication Multicore solution in order the make Deduplicated Backups.

Thank you very much
User avatar
anton (staff)
Site Admin
Posts: 4010
Joined: Fri Jun 18, 2004 12:03 am
Location: British Virgin Islands
Contact:

Wed Apr 24, 2013 1:36 pm

1) It does not use single core. StarWind is multithreaded so many workers execute the I/O jobs.

2) You need RESULT and not TECHNOLOGY. So if dedupe coeff. are fine and hardware resources usage is fair and app is stable I don't think you should care how it's written, designed and so on :)
TstAgs wrote:Hi,

we are testing the Starwind iSCSI solution, with a virtual deduplicated device.

We've noted that on a 8 cores machines, just 1 core is used during the deduplication process.

Can someone confirm that the Dedup engine just use a single core?

We are searching for a Deduplication Multicore solution in order the make Deduplicated Backups.

Thank you very much
Regards,
Anton Kolomyeytsev

Chief Technology Officer & Chief Architect, StarWind Software

Image
TstAgs
Posts: 5
Joined: Wed Apr 24, 2013 12:07 pm

Wed Apr 24, 2013 2:01 pm

Hi,

thanks for the reply, i was asking because with a Dedup virtual drive we can reach a max performance of 40 MBytes / Sec, with 80% allocated ram on the Starwind server, and just 1 core using 15% CPU.

The other CPUs are 0 % used, so it's clearly using a Single core for the dedup process.

I can give you another information. In the task Manager i can read the the Dedup process is using 20 Threads.

How can i fix this?

Thank you very much
Last edited by TstAgs on Wed Apr 24, 2013 2:17 pm, edited 1 time in total.
TstAgs
Posts: 5
Joined: Wed Apr 24, 2013 12:07 pm

Wed Apr 24, 2013 2:14 pm

I allegate 2 screenshots showing the situation
Clipboard01.png
Clipboard01.png (56.76 KiB) Viewed 5542 times
Clipboard02.png
Clipboard02.png (17.58 KiB) Viewed 5542 times
TstAgs
Posts: 5
Joined: Wed Apr 24, 2013 12:07 pm

Wed Apr 24, 2013 2:41 pm

I tried to add a second Dedup Virtual Drive and copying 3 files concurrently on the 2 drives.

The situation doesn't change and the overral throughput from the Client to to the iSCSI target remains of 30 Meg / Sec with a CPU % of 12 on the Starwind server
Clipboard03.png
Clipboard03.png (17.64 KiB) Viewed 5547 times
User avatar
anton (staff)
Site Admin
Posts: 4010
Joined: Fri Jun 18, 2004 12:03 am
Location: British Virgin Islands
Contact:

Wed Apr 24, 2013 8:21 pm

CPU is not limiting factor with StarWind dedupe: disk subsystem is. So giving more cores / GHz is not going to improve anything as
hash caclulations on critical path is maybe 5% of time (maybe less). Throwing more spindles / going flash DOES help to boost performance because
of storing metadata stealing IOPS.

Vitaly would be able to tell more tomorrow.
Regards,
Anton Kolomyeytsev

Chief Technology Officer & Chief Architect, StarWind Software

Image
User avatar
Vitalii (staff)
Staff
Posts: 44
Joined: Mon Jun 07, 2010 8:49 am

Thu Apr 25, 2013 12:06 pm

That version does not support multi-threading.

But, the deduplication library supports using multiple threads. It will be available in the next major release.
TstAgs
Posts: 5
Joined: Wed Apr 24, 2013 12:07 pm

Fri Apr 26, 2013 7:36 am

@anton
We were aware of the storage requirements so we put the Dedup repository on a 15k FC San.
Moreover, as you can see from the graph, disk occupation is far below a single SATA disk bandwidth.

@Vitalii
Thanks for the reply. So we'll wait for the next major version in order to retest the Dedup again with Multi core support.

Thanks
User avatar
Anatoly (staff)
Staff
Posts: 1675
Joined: Tue Mar 01, 2011 8:28 am
Contact:

Wed May 15, 2013 11:09 am

Thank you very much for your feedback!
We are really glad that your issue get solved, and we truly hope that none will appear again.
It was our pleasure to assist you.
Best regards,
Anatoly Vilchinsky
Global Engineering and Support Manager
www.starwind.com
av@starwind.com
Post Reply