Skip to contentSkip to conversation

Performance results on inline data support

DISCUSSION Li Wang 2 participants 5 messages Sep 30, 2013 – Oct 1, 2013

lore
Share & tools
lore

Li Wang

author
#0 lore raw

Hi,
We did a performance test on inline data support, the Ceph cluster is
composed of 1 MDS, 1 MON, 6 OSD on a HPC cluster. The program is simple,
there are 1000 - 3000 files with each being 1KB. The program repeated the following processes on each file: open(), read(), close(). The total time is measured with/without inline data support. The results are as follows (seconds),

#files  without    with
1000    17.3674	  8.7186
2000    35.4848	  17.7646
3000    53.2164	  26.4374

Cheers,
Li Wang

#1 lore raw
Quoted 8 lines · Li Wang

Hi,
We did a performance test on inline data support, the Ceph cluster is
composed of 1 MDS, 1 MON, 6 OSD on a HPC cluster. The program is simple, there are 1000 - 3000 files with each being 1KB. The program repeated the following processes on each file: open(), read(), close(). The total time is measured with/without inline data support. The results are as follows (seconds),

Quoted 4 lines
#files  without    with
1000    17.3674      8.7186
2000    35.4848      17.7646
3000    53.2164      26.4374

Excellent job! Looks like this could make a big difference for certain workloads. How much data can it store before it switches away from inlining the data?

Quoted 7 lines

Cheers,
Li Wang
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

author
#2 lore raw

Currently it is 4KB, but we will implement it as a tunable parameter.

Cheers,
Li Wang

Quoted 27 lines · Mark Nelson
Quoted 8 lines · Li Wang

Hi,
We did a performance test on inline data support, the Ceph cluster is
composed of 1 MDS, 1 MON, 6 OSD on a HPC cluster. The program is simple, there are 1000 - 3000 files with each being 1KB. The program repeated the following processes on each file: open(), read(), close(). The total time is measured with/without inline data support. The results are as follows (seconds),

Quoted 4 lines
#files  without    with
1000    17.3674      8.7186
2000    35.4848      17.7646
3000    53.2164      26.4374

Excellent job! Looks like this could make a big difference for certain workloads. How much data can it store before it switches away from inlining the data?

Quoted 7 lines

Cheers,
Li Wang
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw

Great. I'd be curious to know what the right limits are. :)

Mark

Quoted 33 lines · Li Wang

Currently it is 4KB, but we will implement it as a tunable parameter.

Cheers,
Li Wang

Quoted 27 lines · Mark Nelson
Quoted 8 lines · Li Wang

Hi,
We did a performance test on inline data support, the Ceph cluster is
composed of 1 MDS, 1 MON, 6 OSD on a HPC cluster. The program is simple, there are 1000 - 3000 files with each being 1KB. The program repeated the following processes on each file: open(), read(), close(). The total time is measured with/without inline data support. The results are as follows (seconds),

Quoted 4 lines
#files  without    with
1000    17.3674      8.7186
2000    35.4848      17.7646
3000    53.2164      26.4374

Excellent job! Looks like this could make a big difference for certain workloads. How much data can it store before it switches away from inlining the data?

Quoted 7 lines

Cheers,
Li Wang
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

author
#4 lore raw

True. 'How small is small' seems to be a common issue for small file optimization. I guess there is an optimal threshold there, and maybe depending on the workloads, even the number of MDSs. It is obviously advantageous for read-only applications, and it comes at a cost of pollution of the MDS's metadata cache, at least, leave less space for metadata cache.

Cheers,
Li Wang

Quoted 44 lines · Mark Nelson

Great. I'd be curious to know what the right limits are. :)

Mark

Quoted 37 lines · Li Wang

Currently it is 4KB, but we will implement it as a tunable parameter.

Cheers,
Li Wang

Quoted 31 lines · Mark Nelson
Quoted 11 lines · Li Wang

Hi,
We did a performance test on inline data support, the Ceph
cluster is
composed of 1 MDS, 1 MON, 6 OSD on a HPC cluster. The program is simple,
there are 1000 - 3000 files with each being 1KB. The program repeated the following processes on each file: open(), read(), close(). The total
time is measured with/without inline data support. The results are as follows (seconds),

Quoted 4 lines
#files  without    with
1000    17.3674      8.7186
2000    35.4848      17.7646
3000    53.2164      26.4374

Excellent job! Looks like this could make a big difference for certain workloads. How much data can it store before it switches away from inlining the data?

Quoted 8 lines

Cheers,
Li Wang
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html