Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: SKAS or TT mode
PostPosted: Fri Oct 10, 2003 8:46 am 
Offline
Senior Member
User avatar

Joined: Mon Jun 23, 2003 1:25 pm
Posts: 260
Hi Chris,

Which mode do you run UML in

SKAS or TT

Adam


Top
   
 Post subject:
PostPosted: Fri Oct 10, 2003 12:01 pm 
Offline
Linode Staff
User avatar

Joined: Tue Apr 15, 2003 6:24 pm
Posts: 3090
Website: http://www.linode.com/
Location: Galloway, NJ
SKAS mode, of course! :-)

-Chris


Top
   
 Post subject:
PostPosted: Mon Oct 13, 2003 6:41 pm 
Offline
Senior Member
User avatar

Joined: Mon Jun 23, 2003 1:25 pm
Posts: 260
Just out of intest what is the actual difference between them.

I just read on a site that alot of people run UML in TT mode and it is alot slower than the SKAS mode.

Adam


Top
   
 Post subject:
PostPosted: Mon Oct 13, 2003 7:03 pm 
Offline
Linode Staff
User avatar

Joined: Tue Apr 15, 2003 6:24 pm
Posts: 3090
Website: http://www.linode.com/
Location: Galloway, NJ
TT, or Tracing Thread mode has a process on the host for every process in each UML. You can imagine the contribution to the host's load for even 10 UMLs running in TT mode. In TT mode, all the UML's processes have writable access to their UML's kernel memory (which is bad). To get around this, UML has TT mode options "honeypot" and "jail" which try to fix these problems, with the cost of additional overhead.

Separate Kernel Address Space, or SKAS mode separates kernel and user-space into two processes on the host per UML (plus an ubd driver asynchronous IO thread and write SIGIO emulation thread). Thus, the user-space process can't access the kernel process's memory, which increases security for one thing).

Here are some snippets from Jeff's SKAS page:

Quote:
In short, the changes cause the UML kernel to run in an entirely different host address space from its processes. This solves the security and honeypot fingerprinting problems by making the UML kernel totally inaccessible to UML processes. Their address spaces are identical to what they would be on the host. This also provides a noticable speedup by eliminating the signal delivery that used to happen for every UML system call.


-Chris


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group