Project

General

Profile

Actions

Bug #804

closed

read performance slow

Added by Mohamed Pakkeer about 13 years ago. Updated over 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

Ceph cluster is configured and running with 64 OSD’s daemon( 64 hard disk ), 1 Metadata servers(MDS) and 1 Monitor( MON) daemon. 64OSD’s is running under four data node servers . Each data node server has 16 OSD daemons. MDS and MON running on another servers

I configured cephx for authentication between nodes and journal configured on each OSD hard disk as file. OSD journal size is 4096 MB.

I have two clients mounted the ceph under /mnt/ceph.

All the system running ubuntu 10.10 64 bit edition. for performance test we used big media files. single file size is 18 GB.

I did the performance test read and write. i got the write performance 78 MB/s. But i got the read performance only 28 MB/s. Why read performance is very slow?.

Please find my config file

[global]

auth supported = cephx
debug ms = 0
keyring = /etc/ceph/keyring.bin

[mon]
mon data = /mnt/data/mon$id
[mon0]
host = cephmonitor
mon addr = 10.1.1.100:6789

[mds]
debug mds = 1
keyring = /etc/ceph/keyring.$name

[mds0]
host = cephmonitor
[mds1]
host = cephmonitor01

[osd]
sudo = true
osd data = /mnt/osd$id/data
keyring = /etc/ceph/keyring.$name

osd journal = /mnt/osd$id/data/journal
osd journal size = 4096
debug osd = 1
debug filestore = 1

[osd0]
host = cephnode001
btrfs devs = /dev/sdb
....

[osd63]
host = cephnode102
btrfs devs = /dev/sdq

Please give me the solution

Actions #1

Updated by Greg Farnum about 13 years ago

In general read performance is a little bit slower than write performance, for reasons we haven't managed to diagnose yet. Not by a factor of 3, though!

What kind of machines are you running these OSDs on? How much memory do they have? Have you checked the CPU usage for the OSD hosts when doing writes and reads?

What are your tests? Copy the files in and copy the files out?

Actions #2

Updated by Sage Weil about 13 years ago

  • Target version set to v0.26
Actions #3

Updated by Sage Weil about 13 years ago

  • Assignee deleted (Sage Weil)
Actions #4

Updated by Sage Weil about 13 years ago

  • Translation missing: en.field_story_points set to 3
  • Translation missing: en.field_position set to 1
  • Translation missing: en.field_position changed from 1 to 540
Actions #5

Updated by Sage Weil about 13 years ago

  • Translation missing: en.field_position deleted (541)
  • Translation missing: en.field_position set to 535
Actions #6

Updated by Sage Weil about 13 years ago

  • Target version changed from v0.26 to v0.27
Actions #7

Updated by Sage Weil about 13 years ago

  • Project changed from Ceph to Linux kernel client
  • Category deleted (OSD)
  • Target version deleted (v0.27)
Actions #8

Updated by Sage Weil over 12 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF