- Κώδικας: Επιλογή όλων
sudo fdisk -l
cat /etc/fstab
Συντονιστής: adem1
sudo fdisk -l
cat /etc/fstab
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00060588
Device Boot Start End Blocks Id System
/dev/sda1 * 1 30402 244197376 83 Linux
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00096c61
Device Boot Start End Blocks Id System
/dev/sdb1 1 60802 488384512 83 Linux
Disk /dev/sdc: 4006 MB, 4006608896 bytes
39 heads, 39 sectors/track, 5144 cylinders
Units = cylinders of 1521 * 512 = 778752 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000cf340
Device Boot Start End Blocks Id System
/dev/sdc1 * 3 5145 3911136 7 HPFS/NTFS
/etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda1 during installation
UUID=a6202aea-85c4-4462-b795-b8645a0c89f3 / ext4 errors=remount-ro 0 1
# /home was on /dev/sdb1 during installation
UUID=f7395f30-51f3-4a4f-b4c5-4cf0244b9c17 /home ext4 defaults 0 2

blkid

έγραψε:However, swapping does have a downside. Compared to memory, disks are very slow. Memory speeds can be measured in nanoseconds, while disks are measured in milliseconds, so accessing the disk can be tens of thousands times slower than accessing physical memory. The more swapping that occurs, the slower your system will be. Sometimes excessive swapping or thrashing occurs where a page is swapped out and then very soon swapped in and then swapped out again and so on. In such situations the system is struggling to find free memory and keep applications running at the same time. In this case only adding more RAM will help.


medigeek έγραψε:...
Οπως το κατάλαβα εγώ, η ιδέα είναι να δώσεις όσο περισσότερο RAM γίνεται για την εφαρμογή που τρέχει, ενώ μια εφαρμογή που έτρεχε προηγουμένως θα πάει στο swap. Αν ξαναζητήσεις την προηγούμενη εφαρμογή, το σύστημα θα το αναζητήσει από το swap και θα το φορτώσει πολύ πιο γρήγορα.



To πόση εξαρτάται από τη χρήση που κάνεις. Αν έχεις να τρέξεις κώδικες που πιάνουν πολύ RAM καλό είναι να διαθέτεις και αρκετή swap. Συνήθως 1.5 χ RAM βάζεις για μέχρι 1 GB RAM ή αλλίως όση και η RAM για > 1 GB RAM αλλά αυτά δεν είναι δεσμευτικά και εξαρτώνται και απο τις χωρητικότητες των δίσκων σου. Αν τρέχεις εφαρμογές που απαιτούν RAM μπορεί να βάλεις swap και πάνω από 2.5 χ RAM ασχέτως του μεγέθους της RAM.konnn έγραψε:.....αρα θα πηγαινε αχρηστη η τοση ραμ.Ευχαριστω.το θεμα εινα τωρα να φτιαξω νεο partition.τι μεγεθος πρεπει να εχει αραγε???
