Re: Q: "threads" parameter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ulrich Windl napsal(a):
Hi!

I have a question on the "threads" parameter (How many threads should be used to encypt and sending message):

How can encryption of one message be distributed to multiple threads? If there are multiple messages to be created and sent sequentially, how would the use of multiple threads to encrypt them improve the situation.

Is the code really free of race conditions?

Nobody knows (how can that be proved? Because if you can prove it, go ahead for Nobel prize), but it's for sure not very common (= almost nobody use that) code path, so I would say probably no (that's why corosync 2.x doesn't have threads at all).

Honza


(Reason for all this is that with "threads: 24" we are seeing strange "ring FAULTY" messages under load)

Regards,
Ulrich



_______________________________________________
discuss mailing list
discuss@xxxxxxxxxxxx
http://lists.corosync.org/mailman/listinfo/discuss


_______________________________________________
discuss mailing list
discuss@xxxxxxxxxxxx
http://lists.corosync.org/mailman/listinfo/discuss




[Index of Archives]     [Linux Clusters]     [Corosync Project]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Linux Kernel]     [Linux SCSI]     [X.Org]

  Powered by Linux