Reputation
Top tag
Next privilege 200 Rep.
See reduced ads
Badges
1 11
Newest
 Scholar
Impact
~8k people reached

  • 0 posts edited
  • 0 helpful flags
  • 5 votes cast
Jan
24
awarded  Scholar
Jan
24
accepted diff consuming huge amount of memory and cpu
Jan
24
comment diff consuming huge amount of memory and cpu
@JeffSchaller - comm appears to do exactly what I need. Give it as an answer and I'll accept it. Thx.
Jan
24
comment diff consuming huge amount of memory and cpu
@user367890 $ diff --version diff (GNU diffutils) 2.8.1 Copyright (C) 2002 Free Software Foundation, Inc.
Jan
24
asked diff consuming huge amount of memory and cpu
Jan
14
awarded  Notable Question
Dec
19
comment Generic shared resource locking techniques - is flock the solution?
I'm definitely looking for a Linux C solution. But having looked at this doc, mutexes appear to be used for coordinating between threads, rather than processes.
Dec
18
revised Generic shared resource locking techniques - is flock the solution?
UPDATE to reflect resolution of performance issue
Dec
18
comment Generic shared resource locking techniques - is flock the solution?
@msw pointed me to the solution to the performance problem (see above - I was inadvertently using an NFS-mounted file!). The eventual solution will be coded in C, so Perl and shell won't apply. I'm not sure I fully understand your preference for mkdir, since it doesn't naturally provide queue-until-available behavior for an EXCL lock, and requires spinning. Can you elaborate on the drawbacks to flock?
Dec
18
awarded  Commentator
Dec
18
comment Generic shared resource locking techniques - is flock the solution?
You nailed it! Yes, the file was on an NFS mount, rather than the local file system. Using a local file, it flies. Thanks.
Dec
18
asked Generic shared resource locking techniques - is flock the solution?
Dec
2
comment Need to install VirtualBox Guest Additions 4.3.8 in CentOS 6.3
I abandoned this problem long ago, so I can't verify. (But thanks, hopefully it will help someone.)
Oct
6
awarded  Curious
Sep
24
awarded  Autobiographer
Sep
2
awarded  Popular Question
Jul
22
awarded  Editor
Jul
22
revised Boot Mint from USB flash on macmini3,1 (with rEFInd installed)
added 123 characters in body
Jul
22
comment Boot Mint from USB flash on macmini3,1 (with rEFInd installed)
Make that "I'll assume disk1s1...".
Jul
22
comment Boot Mint from USB flash on macmini3,1 (with rEFInd installed)
I'm going to need more details. First, OSX wants 'bs=4m', not 'bs=4M'. Next, we need to mention unmounting the drive if it's already mounted. 'diskutil list' will help locate it. Mine says /dev/disk1 #: 0: FDisk_partition_scheme *16.0 GB disk1 1: DOS_FAT_32 BOOTILDA 16.0 GB disk1s1 Do I unmount disk1 or disk1s1? I'll assume disk1 and then try your command.