Skip to contentSkip to conversation

why oracle give up dlm by disk on ocfs2? because performance?

Ocfs2-devel Jensen 5 participants 11 messages Jun 29, 2013 – Jul 8, 2013 OCFS2

lore
Share & tools
lore

Jensen

author
#0 lore raw

Hi all,
I found ocfs1.0 use the Distributed lock manager by disk. on ocfs2 why give up? because performance or other reason?

Btw:
on the ocfs1.0 why not use scsi-2/3 reservation to protect to update the dlm sector data?

Thanks,
Jensen.

author
#1 lore raw

Hi Mark, sunil, jeff an Joel,
Do you know why ? Thanks.

Jensen.
2013-7-2

Quoted 16 lines · Jensen

Hi all,
I found ocfs1.0 use the Distributed lock manager by disk. on ocfs2 why give up? because performance or other reason?

Btw:
on the ocfs1.0 why not use scsi-2/3 reservation to protect to update the dlm sector data?

Thanks,
Jensen.

_______________________________________________
Ocfs2-devel mailing list
Ocfs2-devel at oss.oracle.com
https://oss.oracle.com/mailman/listinfo/ocfs2-devel

#2 lore raw

A general purpose file system requires one to manage over a million locks concurrently. So performance is the main reason.

Quoted 8 lines · Jensen

Hi Mark, sunil, jeff an Joel,
Do you know why ? Thanks.

Jensen.
2013-7-2

On 2013/6/29 11:27, Jensen wrote:

Quoted 22 lines
Quoted 2 lines

Hi all,
I found ocfs1.0 use the Distributed lock manager by disk. on ocfs2

why give up? because performance or other reason?

Quoted 3 lines

Btw:
on the ocfs1.0 why not use scsi-2/3 reservation to protect to

update the dlm sector data?

Quoted 11 lines

Thanks,
Jensen.

_______________________________________________
Ocfs2-devel mailing list
Ocfs2-devel at oss.oracle.com
https://oss.oracle.com/mailman/listinfo/ocfs2-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs2-devel/attachments/20130701/0df7a53b/attachment.html

author
#3 lore raw
Quoted 2 lines · Sunil Mushran

A general purpose file system requires one to manage over a million locks concurrently. So performance is the main reason.

Thanks for your comments.

Has Oracle compared the performance between ocfs2 and ocfs1?

Quoted 31 lines · On Mon, Jul 1, 2013 at 6:22 PM, Jensen <shencanquan at huawei.com…
    Hi Mark, sunil, jeff an Joel,
       Do you know why ? Thanks.

    Jensen.
    2013-7-2

    On 2013/6/29 11:27, Jensen wrote:

    > Hi all,
    >    I found ocfs1.0 use the Distributed lock manager by disk. on ocfs2 why give up? because performance or other reason?
    >
    >    Btw:
    >      on the ocfs1.0 why not use scsi-2/3 reservation to protect to update the dlm sector data?
    >
    > Thanks,
    > Jensen.
    >
    >
    > _______________________________________________
    > Ocfs2-devel mailing list
    > Ocfs2-devel at oss.oracle.com <mailto:[email protected]>
    > https://oss.oracle.com/mailman/listinfo/ocfs2-devel
    >
    >
#4 lore raw
Quoted 8 lines · Jensen
Quoted 2 lines · Sunil Mushran

A general purpose file system requires one to manage over a million locks concurrently. So performance is the main reason.

Thanks for your comments.

Has Oracle compared the performance between ocfs2 and ocfs1?

Firstly, that's implied in the answer you just got. Also, who wouldn't compare performance from one version of a file system to the next?

Can you please cut to the chase and either ask what you really want to know or make the statement you're trying to make so we can move on?

Thanks,

	--Mark

--
Mark Fasheh

author
#5 lore raw
Quoted 8 lines · Mark Fasheh
Quoted 7 lines · Jensen
Quoted 2 lines · Sunil Mushran

A general purpose file system requires one to manage over a million locks concurrently. So performance is the main reason.

Thanks for your comments.

Quoted 8 lines
Quoted 1 line

Has Oracle compared the performance between ocfs2 and ocfs1?

Firstly, that's implied in the answer you just got. Also, who wouldn't compare performance from one version of a file system to the next?

Can you please cut to the chase and either ask what you really want to know or make the statement you're trying to make so we can move on?

Thanks for your answer.
we want to use compare and write scsi command to replace DLM module. it is similar with vmware vmfs.

why we want to replace dlm in ocfs2? because:
1. The stability of ocfs2 dlm is very poor, we found 100+ bug.
2. The Reliability of ocfs2 dlm is very poor, especially in network split, the worse case split two domain, the half of node must be reboot.
3. the maximum number of mounted machine is 32, we want to support more.

currently we worry about two thing:
1. The performance lock and unlock. because it use the scsi command and it is similar with IO read and write.
2. The change is very very large. because it maybe modify the disk layout of ocfs2.

so anyone interested with this?

Quoted 7 lines

Thanks,

	--Mark

--
Mark Fasheh

#6 lore raw
Quoted 15 lines · Jensen
Quoted 13 lines · Mark Fasheh
Quoted 8 lines · Jensen
Quoted 2 lines · Sunil Mushran

A general purpose file system requires one to manage over a million locks concurrently. So performance is the main reason.

Thanks for your comments.

Has Oracle compared the performance between ocfs2 and ocfs1?

Firstly, that's implied in the answer you just got. Also, who wouldn't compare performance from one version of a file system to the next?

Quoted 9 lines
Quoted 3 lines

Can you please cut to the chase and either ask what you really want to know or make the statement you're trying to make so we can move on?

Thanks for your answer.
we want to use compare and write scsi command to replace DLM module. it is similar with vmware vmfs.

I'm not trying to answer this question.

I knew that OCFS2 is deployed in HuaWei.com in a large-scale cluster up to 128 nodes, so I'm not very much surprised at something you mentioned below, but...

Quoted 2 lines

why we want to replace dlm in ocfs2? because:
1. The stability of ocfs2 dlm is very poor, we found 100+ bug.

That sounds interesting, how to classify those problems?
- Fatal error, panic
- Result in an interruption in service
- Wrong results, but can work around?
- Trivial

Reporting bugs to bugzilla/OCFS2 would be useful to keep track of them:
https://oss.oracle.com/bugzilla/

Thanks,
-Jeff

Quoted 25 lines

2. The Reliability of ocfs2 dlm is very poor, especially in network split, the worse case split two domain, the half of node must be reboot.
3. the maximum number of mounted machine is 32, we want to support more.

currently we worry about two thing:
1. The performance lock and unlock. because it use the scsi command and it is similar with IO read and write.
2. The change is very very large. because it maybe modify the disk layout of ocfs2.

so anyone interested with this?

Quoted 7 lines

Thanks,

	--Mark

--
Mark Fasheh

_______________________________________________
Ocfs2-devel mailing list
Ocfs2-devel at oss.oracle.com
https://oss.oracle.com/mailman/listinfo/ocfs2-devel

author
#7 lore raw
Quoted 36 lines · Jeff Liu
Quoted 15 lines · Jensen
Quoted 13 lines · Mark Fasheh
Quoted 8 lines · Jensen
Quoted 2 lines · Sunil Mushran

A general purpose file system requires one to manage over a million locks concurrently. So performance is the main reason.

Thanks for your comments.

Has Oracle compared the performance between ocfs2 and ocfs1?

Firstly, that's implied in the answer you just got. Also, who wouldn't compare performance from one version of a file system to the next?

Quoted 9 lines
Quoted 3 lines

Can you please cut to the chase and either ask what you really want to know or make the statement you're trying to make so we can move on?

Thanks for your answer.
we want to use compare and write scsi command to replace DLM module. it is similar with vmware vmfs.

I'm not trying to answer this question.

I knew that OCFS2 is deployed in HuaWei.com in a large-scale cluster up to 128 nodes, so I'm not very much surprised at something you mentioned below, but...

Quoted 2 lines

why we want to replace dlm in ocfs2? because:
1. The stability of ocfs2 dlm is very poor, we found 100+ bug.

Quoted 9 lines

That sounds interesting, how to classify those problems?
- Fatal error, panic
- Result in an interruption in service
- Wrong results, but can work around?
- Trivial

Reporting bugs to bugzilla/OCFS2 would be useful to keep track of them:
https://oss.oracle.com/bugzilla/

Recently, Huawei has send many bug to open source community. which bug exist in open source. other change or bug belong to enforce ocfs2 function ,for example, when disk timeout, open source code will reboot the machine, we modify it, we set the ocfs2 invalid(can't read and write), open source may not interesting with those modify.

Quoted 32 lines

Thanks,
-Jeff

Quoted 25 lines

2. The Reliability of ocfs2 dlm is very poor, especially in network split, the worse case split two domain, the half of node must be reboot.
3. the maximum number of mounted machine is 32, we want to support more.

currently we worry about two thing:
1. The performance lock and unlock. because it use the scsi command and it is similar with IO read and write.
2. The change is very very large. because it maybe modify the disk layout of ocfs2.

so anyone interested with this?

Quoted 7 lines

Thanks,

	--Mark

--
Mark Fasheh

_______________________________________________
Ocfs2-devel mailing list
Ocfs2-devel at oss.oracle.com
https://oss.oracle.com/mailman/listinfo/ocfs2-devel

#8 lore raw
Quoted 44 lines · Jensen
Quoted 42 lines · Jeff Liu
Quoted 15 lines · Jensen
Quoted 13 lines · Mark Fasheh
Quoted 8 lines · Jensen
Quoted 2 lines · Sunil Mushran

A general purpose file system requires one to manage over a million locks concurrently. So performance is the main reason.

Thanks for your comments.

Has Oracle compared the performance between ocfs2 and ocfs1?

Firstly, that's implied in the answer you just got. Also, who wouldn't compare performance from one version of a file system to the next?

Quoted 9 lines
Quoted 3 lines

Can you please cut to the chase and either ask what you really want to know or make the statement you're trying to make so we can move on?

Thanks for your answer.
we want to use compare and write scsi command to replace DLM module. it is similar with vmware vmfs.

I'm not trying to answer this question.

I knew that OCFS2 is deployed in HuaWei.com in a large-scale cluster up to 128 nodes, so I'm not very much surprised at something you mentioned below, but...

Quoted 2 lines

why we want to replace dlm in ocfs2? because:
1. The stability of ocfs2 dlm is very poor, we found 100+ bug.

That sounds interesting, how to classify those problems?
- Fatal error, panic
- Result in an interruption in service
- Wrong results, but can work around?
- Trivial

Quoted 7 lines
Quoted 3 lines

Reporting bugs to bugzilla/OCFS2 would be useful to keep track of them:
https://oss.oracle.com/bugzilla/

Recently, Huawei has send many bug to open source community. which bug exist in open source.

We always appreciating the contributions.

Quoted 3 lines

other change or bug belong to enforce ocfs2 function ,for example, when disk timeout, open source code will reboot the machine, we modify it, we set the ocfs2 invalid(can't read and write), open source may not interesting with those modify.

Why not give a try if those changes are fair enough?

Look at what you mentioned and what I asked above:
">>> 1. The stability of ocfs2 dlm is very poor, we found 100+ bug."

If take away around 10 DLM related patches from HuaWei, so the left several DLM bugs(might be) are totally can not be fixed in mainline?

This sort of replies can provide nothing useful information to the community and it is in fact a waste of our(yours and my) time.

I understand that we have a language barrier for the communication to the open source community, but some of your questions/feedbacks are deserve to spend a few days to think it over before sending it out to the public, so that someone who is capable to answer your questions can well understand your opinions. :)

Quoted 36 lines
Quoted 33 lines

Thanks,
-Jeff

Quoted 25 lines

2. The Reliability of ocfs2 dlm is very poor, especially in network split, the worse case split two domain, the half of node must be reboot.
3. the maximum number of mounted machine is 32, we want to support more.

currently we worry about two thing:
1. The performance lock and unlock. because it use the scsi command and it is similar with IO read and write.
2. The change is very very large. because it maybe modify the disk layout of ocfs2.

so anyone interested with this?

Quoted 7 lines

Thanks,

	--Mark

--
Mark Fasheh

_______________________________________________
Ocfs2-devel mailing list
Ocfs2-devel at oss.oracle.com
https://oss.oracle.com/mailman/listinfo/ocfs2-devel

#9 lore raw
In reply to Jensen
Quoted 39 lines · Jensen
Quoted 37 lines · Jeff Liu
Quoted 13 lines · Jensen
Quoted 11 lines · Mark Fasheh
Quoted 7 lines · Jensen
Quoted 2 lines · Sunil Mushran

A general purpose file system requires one to manage over a million locks concurrently. So performance is the main reason.

Thanks for your comments.

Has Oracle compared the performance between ocfs2 and ocfs1?

Firstly, that's implied in the answer you just got. Also, who wouldn't compare performance from one version of a file system to the next?

Quoted 8 lines
Quoted 3 lines

Can you please cut to the chase and either ask what you really want to know or make the statement you're trying to make so we can move on?

Thanks for your answer.
we want to use compare and write scsi command to replace DLM module. it is similar with vmware vmfs.

I'm not trying to answer this question.

I knew that OCFS2 is deployed in HuaWei.com in a large-scale cluster up to 128 nodes, so I'm not very much surprised at something you mentioned below, but...

Quoted 2 lines

why we want to replace dlm in ocfs2? because:
1. The stability of ocfs2 dlm is very poor, we found 100+ bug.

That sounds interesting, how to classify those problems?
- Fatal error, panic
- Result in an interruption in service
- Wrong results, but can work around?
- Trivial

Quoted 5 lines
Quoted 3 lines

Reporting bugs to bugzilla/OCFS2 would be useful to keep track of them:
https://oss.oracle.com/bugzilla/

Recently, Huawei has send many bug to open source community.

Yes and we appreciate your contributions :)

Quoted 4 lines

which bug exist in
open source. other change or bug belong to enforce ocfs2 function ,for example, when disk timeout, open source code will reboot the machine, we modify it, we set the ocfs2 invalid(can't read and write), open source may not interesting with those modify.

Can you please point me to these patches, I would be very interested to look at. If the patches are safe for all kind of workloads and guarantee to stop in-flight i/o's then it makes sense to add them to mainline ocfs2.

Quoted 6 lines
Quoted 6 lines

Thanks,
-Jeff

Quoted 2 lines

2. The Reliability of ocfs2 dlm is very poor, especially in network split, the worse case split two domain, the half of node must be reboot.

Currently we are looking into this. It appears that most of the network issues we are seeing may not really caused by network layer. They are mostly false errors because o2net thread got busy. Once this happens, in some scenarios reconnect always fails which is a bug. If you are currently running into these problems please share so we can analyse them.

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

3. the maximum number of mounted machine is 32, we want to support more.

currently we worry about two thing:
1. The performance lock and unlock. because it use the scsi command and it is similar with IO read and write.
2. The change is very very large. because it maybe modify the disk layout of ocfs2.

I am just curious, have you already made these changes? Are the changes scalable?

Quoted 27 lines
Quoted 13 lines
Quoted 13 lines

so anyone interested with this?

Quoted 7 lines

Thanks,

	--Mark

--
Mark Fasheh

Quoted 7 lines
Quoted 4 lines

_______________________________________________
Ocfs2-devel mailing list
Ocfs2-devel at oss.oracle.com
https://oss.oracle.com/mailman/listinfo/ocfs2-devel

_______________________________________________
Ocfs2-devel mailing list
Ocfs2-devel at oss.oracle.com
https://oss.oracle.com/mailman/listinfo/ocfs2-devel

author
#10 lore raw
Quoted 64 lines · Srinivas Eeda
Quoted 39 lines · Jensen
Quoted 37 lines · Jeff Liu
Quoted 13 lines · Jensen
Quoted 11 lines · Mark Fasheh
Quoted 7 lines · Jensen
Quoted 2 lines · Sunil Mushran

A general purpose file system requires one to manage over a million locks concurrently. So performance is the main reason.

Thanks for your comments.

Has Oracle compared the performance between ocfs2 and ocfs1?

Firstly, that's implied in the answer you just got. Also, who wouldn't compare performance from one version of a file system to the next?

Quoted 8 lines
Quoted 3 lines

Can you please cut to the chase and either ask what you really want to know or make the statement you're trying to make so we can move on?

Thanks for your answer.
we want to use compare and write scsi command to replace DLM module. it is similar with vmware vmfs.

I'm not trying to answer this question.

I knew that OCFS2 is deployed in HuaWei.com in a large-scale cluster up to 128 nodes, so I'm not very much surprised at something you mentioned below, but...

Quoted 2 lines

why we want to replace dlm in ocfs2? because:
1. The stability of ocfs2 dlm is very poor, we found 100+ bug.

That sounds interesting, how to classify those problems?
- Fatal error, panic
- Result in an interruption in service
- Wrong results, but can work around?
- Trivial

Quoted 5 lines
Quoted 3 lines

Reporting bugs to bugzilla/OCFS2 would be useful to keep track of them:
https://oss.oracle.com/bugzilla/

Recently, Huawei has send many bug to open source community.

Yes and we appreciate your contributions :)

Quoted 4 lines

which bug exist in
open source. other change or bug belong to enforce ocfs2 function ,for example, when disk timeout, open source code will reboot the machine, we modify it, we set the ocfs2 invalid(can't read and write), open source may not interesting with those modify.

Can you please point me to these patches, I would be very interested to look at. If the patches are safe for all kind of workloads and guarantee to stop in-flight i/o's then it makes sense to add them to mainline ocfs2.

Quoted 6 lines
Quoted 6 lines

Thanks,
-Jeff

Quoted 2 lines

2. The Reliability of ocfs2 dlm is very poor, especially in network split, the worse case split two domain, the half of node must be reboot.

Currently we are looking into this. It appears that most of the network issues we are seeing may not really caused by network layer. They are mostly false errors because o2net thread got busy. Once this happens, in some scenarios reconnect always fails which is a bug. If you are currently running into these problems please share so we can analyse them.

Quoted 7 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

3. the maximum number of mounted machine is 32, we want to support more.

currently we worry about two thing:
1. The performance lock and unlock. because it use the scsi command and it is similar with IO read and write.
2. The change is very very large. because it maybe modify the disk layout of ocfs2.

I am just curious, have you already made these changes? Are the changes scalable?

we had not made these changes. we plan to change this.

Quoted 35 lines
Quoted 23 lines
Quoted 13 lines
Quoted 13 lines

so anyone interested with this?

Quoted 7 lines

Thanks,

	--Mark

--
Mark Fasheh

Quoted 7 lines
Quoted 4 lines

_______________________________________________
Ocfs2-devel mailing list
Ocfs2-devel at oss.oracle.com
https://oss.oracle.com/mailman/listinfo/ocfs2-devel

Quoted 4 lines

_______________________________________________
Ocfs2-devel mailing list
Ocfs2-devel at oss.oracle.com
https://oss.oracle.com/mailman/listinfo/ocfs2-devel

_______________________________________________
Ocfs2-devel mailing list
Ocfs2-devel at oss.oracle.com
https://oss.oracle.com/mailman/listinfo/ocfs2-devel