Sponsored Content
Full Discussion: Byte swap timing
Top Forums Programming Byte swap timing Post 302975295 by migurus on Friday 10th of June 2016 12:16:44 PM
Old 06-10-2016
(to MadeInGermany) Yes, it should, my bad (copy/paste difficulties in IE). But my question is - why bswap takes longer time? any ideas?

(to Corona) newer compiler is better, I assume, but the timing of bswap suffered - how?

Last edited by migurus; 06-10-2016 at 01:19 PM.. Reason: mention people who answered
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

timing a loop in unix.

hi guys.. i have a shell script that loops through a certain directory to see if a file has been created and then prints the file if it exists... the only problem i have now is that sometimes the flat does not get created by the program thats supposed to create it, in this scenario, my loop... (1 Reply)
Discussion started by: wolkott
1 Replies

2. UNIX for Advanced & Expert Users

scp timing out

having problems using scp in that during peak hours it appears to time out. anyone have similar experiences? any thoughts regarding a solution... (1 Reply)
Discussion started by: jph
1 Replies

3. Shell Programming and Scripting

Timing out a SSH

I need to make it so an autmated process which involves ssh, times out if ssh prompts for a password. Most of the time it shouldnt prompt for a password. But if it does i need it to time it out or get a status and stop the ssh and log that the ssh failed and move onto the next server. Is there any... (9 Replies)
Discussion started by: rcunn87
9 Replies

4. Programming

timing your functions

hi everyone. If you have a function created in your code and you want to find out how long it takes for it to run you can use a struct called gettimeofday(). so lets say we have a function like this int myfunction (int r) { /*some math calculations*/ return answer; } How do i set up... (3 Replies)
Discussion started by: bebop1111116
3 Replies

5. Solaris

Swap config - Mirror swap or not?

Hello and thanks in advance. I have a Sun box with raid 1 on the O/S disks using solaris svm. I want to unmirror my swap partition, and add the slice on the second disk as an additional swap device. This would give me twice as much swap space. I have been warned not to do this by some... (3 Replies)
Discussion started by: BG_JrAdmin
3 Replies

6. Shell Programming and Scripting

Check if 2 files are identical byte-to-byte?

In my server migration requirement, I need to compare if one file on old server is exactly the same as the corresponding file on the new server. For diff and comm, the inputs need to be sorted. But I do not want to disturb the content of the file and need to find byte-to-byte match. Please... (4 Replies)
Discussion started by: krishmaths
4 Replies

7. Shell Programming and Scripting

Remove a byte(Last byte from the last line)

Hi All Can anyone please suggest me how to remove the last byte from a falt file .This is from the last line's last BYTE. Please suggest me something. Thank's and regards Vinay (1 Reply)
Discussion started by: vinayrao
1 Replies

8. HP-UX

Swap device file and swap sapce

Hi I have an integrity machine rx7620 and rx8640 running hp-ux 11.31. I'm planning to fine tune the system: - I would like to know when does the memory swap space spill over to the device swap space? - And how much % of memory swap utilization should be specified (swap space device... (6 Replies)
Discussion started by: lamoul
6 Replies

9. Shell Programming and Scripting

Timing a script

i have a very big script i have that i'd like to add a timeout to. this script runs on a several remote host. i update this script with timeout clause and then copy it over to all the hosts on which it is currently on. basically, i want the timeout to make the script abort/exit if it's... (1 Reply)
Discussion started by: SkySmart
1 Replies

10. Solaris

Explain the output of swap -s and swap -l

Hi Solaris Folks :), I need to calculate the swap usage on solaris server, please let me understand the output of below swap -s and swap -l commands. $swap -s total: 1774912k bytes allocated + 240616k reserved = 2015528k used, 14542512k available $swap -l swapfile dev swaplo... (6 Replies)
Discussion started by: seenuvasan1985
6 Replies
remote_nfs_swap(5)						File Formats Manual						remote_nfs_swap(5)

NAME
remote_nfs_swap - enable swapping across NFS VALUES
Default Allowed values DESCRIPTION
This tunable controls adding a NFS filesystem for use as swap. If is set to only local filesystems and devices can be used for swap. If it is set to both local and networked file systems can be used for swap. Historically, this tunable was used in NFS clusters that are no longer supported, but this capability has not yet been removed. Who Is Expected to Change This Tunable? Anyone. Restrictions on Changing Changes to this tunable take effect on the next boot. When Should the Tunable Be Turned On? Almost never. As previously mentioned, this tunable was designed for systems which are not in use today. Only systems with extremely robust NFS capabilities should even consider using NFS for swap. What Are the Side Effects of Turning the Tunable On? If the value is set to and a NFS partition is added as swap, then some kernel memory will be set aside for NFS transactions to the swap file system. The kernel will then use the NFS swap partition just the same as a local file system. If the NFS capabilities of the system are not robust, this could lead to extremely long swap times (both swap in and swap out), and possibly a loss of memory because all the reserved memory and more could be used by NFS (just when memory pressure is high) causing the need for swap. When Should the Tunable Be Turned Off? Unless you are positive that the NFS system can handle the load of being used as swap, and does not have a local file system or disk drive to spare, this tunable should be set to What Are the Side Effects of Turning the Tunable Off? Any previously defined NFS swap filesystems will no longer be allowed. Kernel memory will not be reserved for NFS transactions due to swap. 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. Tunable Kernel Parameters remote_nfs_swap(5)
All times are GMT -4. The time now is 01:51 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy