06-10-2009
Multi-threaded encryption @ Fedora 11
Hello, are any of the encryption programs capable of true multi-threading ? Friend of mine tells me that he's been running some testing on Fedora 11 and that the kernel doesn't support multi-threading at that level.
I've been looking into TrueCrypt, encfs and both calm to support multi-threading, can anyone please confirm and give any useful informatons about it?
If possible also provide some benchmarks? What is your experience with encryption on linux and it's multi-threading?
9 More Discussions You Might Find Interesting
1. Programming
I am trying to writa a multi-client & multi-threaded TCP server.
There is a thread pool. Each thread in the pool will handle
requests of multiple clients.
But here I have a problem. I find a solution but it is not how
it must be... i think. When threads working without sleep(1)
I can't... (0 Replies)
Discussion started by: Parahat Melayev
0 Replies
2. Programming
I was wondering if anyone could give me a good idea how to calculate how balanced the threading is on a multi-threaded application. I want a percentage, such as "threads are 80% balanced."
This is the way I am currently going about it, maybe it is good, maybe not.
First, whenever a thread... (2 Replies)
Discussion started by: DreamWarrior
2 Replies
3. AIX
I have a Multithreaded program which is hanging on AIX.
OS Version: AIX 5.2 and thread library version : 5.2.0.75
We Initiate the process with 50 threads..when we are disconnecting from the process it hangs.There is lots of other stuff involved here.I am just sending the piece of the problem with... (0 Replies)
Discussion started by: hikrishn
0 Replies
4. Shell Programming and Scripting
I need to write a perl script to execute external programs and grab the output and return code. Each program should be killed if it has not completed within X seconds.
Imagine that the script goes something like this :
@commands = &get_commands();
foreach $cmd (@commands) {
$pid =... (4 Replies)
Discussion started by: SandmanCL
4 Replies
5. Linux
Hello, are any of the encryption programs capable of true multi-threading ? Friend of mine tells me that he's been running some testing on Fedora 11 and that the kernel doesn't support multi-threading at that level.
I've been looking into TrueCrypt, encfs and both calm to support... (1 Reply)
Discussion started by: TehOne
1 Replies
6. Programming
Hello All :
I write a .c program to test the exactually resource the memory leak
as follows:
1 #include <stdio.h>
2 #define NUM 100000
3 void *Thread_Run(void * arg){
4 //TODO
5 //pthread_datch(pthread_self());
6 int socket= (int)arg;
7 ... (1 Reply)
Discussion started by: aobai
1 Replies
7. Programming
I'm having a hard time figuring out how to manage deallocation of memory in multithreaded environments. Specifically what I'm having a hard time with is using a lock to protect a structure, but when it's time to free the structure, you have to unlock the lock to destroy the lock itself. Which will... (5 Replies)
Discussion started by: gngrwzrd
5 Replies
8. Shell Programming and Scripting
hey everyone,
I'm having some trouble breaking down some code. It's simple a control script that takes machines meant to be backed up from a list. Then according to that will run multi-threaded processes up until the specified thread limit.
for example if there are 4 machines to be backed up,... (2 Replies)
Discussion started by: terrell
2 Replies
9. Cybersecurity
Hi all,
I'm looking for secure file encryption tools that use MAC address as encryption key. FYI, I'm using Red Hat Enterprise Linux OS.
For example: when A wants to send file to B
A will encrypt the file with B's computer MAC/IP address as an encryption key
This file can only be decrypted... (2 Replies)
Discussion started by: sergionicosta
2 Replies
LEARN ABOUT HPUX
lcpu_attr
lcpu_attr(5) File Formats Manual lcpu_attr(5)
NAME
lcpu_attr - dynamically enable or disable LCPU attribute of the default processor set
VALUES
Fail Safe
Default
the LCPU attribute of the default processor set is disabled
Allowed values
or
DESCRIPTION
This tunable dynamically enables or disables the logical processor (LCPU) attribute in the default processor set. On systems supporting
hyper-threading technology, each hyper-thread is represented as an LCPU.
When the LCPU attribute is enabled, the processor cores in the default processor have hyper-threading enabled. If the LCPU attribute is
disabled, the physical processors in the default processor set behave as single threaded processor cores.
See pset_setattr(2) for information about managing the LCPU attribute in processor sets other than the default processor set.
Who Is Expected to Change This Tunable?
System administrators that wish to change hyper-threading ability in the default processor set.
Restrictions on Changing
The tunable has no effect on platforms that do not have hyper-threading capability or systems with hyper-threading disabled at the firmware
level. On systems that support hyper-threading, the firmware feature must be enabled to dynamically enable/disable the LCPU attribute in
the default processor set.
When Should the Tunable Be Turned On?
The tunable should be turned on to enable the LCPU attribute in the default processor set to take advantage of hyper-threading. If the
applications running on the system see performance benefits, the LCPU attribute should remain enabled.
What Are the Side Effects of Turning the Tunable On?
Some workloads may experience performance degradation when the LCPU attribute is enabled.
When Should the Tunable Be Turned Off?
Some applications may experience performance degradation or may not see any performance benefits from using hyper-threading. In this case,
this tunable should be turned off.
What Are the Side Effects of Turning the Tunable Off?
With LCPU turned off, applications may not take advantage of hyper-threading.
What Other Tunables Should Be Changed at the Same Time?
None.
WARNINGS
All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of
HP-UX.
Installation of optional kernel software, from HP or other vendors, may cause changes to tunable parameter values. After installation,
some tunable parameters may no longer be at the default or recommended values. For information about the effects of installation on tun-
able values, consult the documentation for the kernel software being installed. For information about optional kernel software that was
factory installed on your system, see at
AUTHOR
was developed by HP.
SEE ALSO
psrset(1M), pset_assign(2), pset_bind(2), pset_create(2), pset_ctl(2), pset_destroy(2), privgrp(4).
Tunable Kernel Parameters lcpu_attr(5)