The realtime preemption mini-summit
The realtime preemption mini-summit
Posted Sep 28, 2009 22:00 UTC (Mon) by nix (subscriber, #2304)Parent article: The realtime preemption mini-summit
SYSV IPC is best avoided.Not just in realtime situations, of course.
A realtime idle loop. There is the usual tension there between preserving the best response time and minimizing power consumption.Liunx can do infinite loops faster than anything else!
Supporting hardware-assisted operations - things like onboard cryptographic acceleration hardware.Well, that's an interesting question, really. I've got a couple of machines with Geode CPUs now, and these have AES hardware acceleration. Some of the BSDs provide an interface that allows OpenSSL to use this, but as far as I can tell Linux does not. There's support for the Geode in the crypto layer, but this doesn't seem to be made available to userspace, so if you do your crypto in userspace (say, ssh), you're stuck using the CPU, which is much slower at this sort of thing.
I saw some patches a long time ago adding a BSD-style /dev/crypto, but then I lost them again...
      Posted Sep 28, 2009 22:35 UTC (Mon)
                               by cortana (subscriber, #24596)
                              [Link] (1 responses)
       
     
    
      Posted Sep 29, 2009 9:20 UTC (Tue)
                               by nix (subscriber, #2304)
                              [Link] 
       
 
     
      Posted Sep 28, 2009 22:42 UTC (Mon)
                               by flewellyn (subscriber, #5047)
                              [Link] (5 responses)
       
>Not just in realtime situations, of course.  
Tell that to the PostgreSQL people.  They use SYSV shared memory and semaphores in the database.  It's quite efficient and works well.  
Of course, an RDBMS is not a realtime application, but you claimed that it should be avoided in other situations as well. 
     
    
      Posted Sep 29, 2009 9:21 UTC (Tue)
                               by nix (subscriber, #2304)
                              [Link] (4 responses)
       
 
     
    
      Posted Sep 29, 2009 14:58 UTC (Tue)
                               by flewellyn (subscriber, #5047)
                              [Link] 
       
     
      Posted Sep 29, 2009 19:50 UTC (Tue)
                               by alvherre (subscriber, #18730)
                              [Link] (2 responses)
       
     
    
      Posted Sep 29, 2009 22:47 UTC (Tue)
                               by alvherre (subscriber, #18730)
                              [Link] 
       
     
      Posted Sep 30, 2009 15:14 UTC (Wed)
                               by nix (subscriber, #2304)
                              [Link] 
       
     
    The realtime preemption mini-summit
      
The realtime preemption mini-summit
      
The realtime preemption mini-summit
      
The realtime preemption mini-summit
      
The realtime preemption mini-summit
      
POSIX shmem in PostgreSQL
      
POSIX shmem in PostgreSQL
      
POSIX shmem in PostgreSQL
      
 
           